Hello everyone,
I've got an form UI component defined with two fieldsets.
The first fieldset has 2 input fields and 1 select field. The second fieldset has a dynamicRows component with 3 input fields and 1 select field.
What I want to achieve is that when I select an option in the first fieldset I want to update the options of every select component in the second fieldset via an ajax call. I read through the documentation on how to link properties of UI components but I did not find a way to achieve this. I'm trying this since 2 days and didn't find anyting by googling my problem.
I guess i'd be kinda easy to achieve this via JS + PHP modifier, but I would like to achieve this as much as possible with the xml configuration.
I'd really appreciate if anybody has an idea how to solve my problem.
Best regards
Timon
Solved! Go to Solution.
Hi @timon_heuser ,
Please check below url for adding ui component fields dependency in ui_form.xml
https://magento.stackexchange.com/questions/153740/magento-2-field-dependency-in-ui-form
Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!
Hi @timon_heuser ,
Please check below url for adding ui component fields dependency in ui_form.xml
https://magento.stackexchange.com/questions/153740/magento-2-field-dependency-in-ui-form
Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!