I want to show a certain text (that is set with a configuration setting from system.xml) within my UI component Form.

The UI component is used in the frontend. Do i provide it with a DataProvider? And if so how?

Does someone has an idea how this is possible?



You can add Block with template before your Ui component. In Block class just use ScopeConfigInterface to get your text from configuration

| improve this answer | |
  • I am using a modal which means the fields are set within the ui_component itself. – CompactCode Jul 13 '18 at 15:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.