AEM 6.4 – Toggle dialog fields based on dropdown selection - Doesn’t work for multiple values | Community
Skip to main content
Level 4
February 25, 2019

AEM 6.4 – Toggle dialog fields based on dropdown selection - Doesn’t work for multiple values

  • February 25, 2019
  • 0 replies
  • 1131 views

In AEM 6.4, we could implement toggling of dialog fields based on the dropdown selection by adding granite:data node and granite:class. But this works only for single value. How to make it work for multiple values. For example, if a dropdown has three values [x, y, z] then I would like to show "text1" if we select x OR y and would like to show "text2" if we select z. I have tried making showhidetargetvalue to String[] with multiple values [x, y], but it didn’t work. Any reference will be helpful.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.