Is there a way to populate a select dropdown field with the values of what is selected in another multiselect dropdown field on the same page and fieldset? This is in regards to the ui component form in adminhtml.

Essentially this is what I require: In an admin UI component form, say product create form or customer create form, I want one multiselect dropdown field to have for example all countries in the world. I also want a single select dropdown field (normal dropdown), whose values are populated from the countries I selected from the previous fields. So if I select only five countries in the first multiselect dropdown, I want only those five to be the options of the second select dropdown.

  • Can you please give example or screenshot what you want actually here? – Rutvee Sojitra Nov 11 '19 at 6:40
  • @RutveeSojitra, I added an example to my question, thank you! – Adarsh M Nov 11 '19 at 9:35

Your Answer

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

Browse other questions tagged or ask your own question.