Hello friends,
I am building a relatively straight-forward AEM component with a simple authoring dialog. At the top of my dialog is a select field. I want certain fields in my dialog to disappear when this select field is set to a specific item.
I have studied the implementation of the Foundation Carousel component, which uses the cq-dialog-dropdown-showhide-target
attribute, which is fine, but isn't quite the logic I am looking for. The logic used there is:
show this field if the select is equal to X
Whereas I am trying to implement:
hide this field if the select is equal to X, Y or Z, otherwise show it
Has anyone else had trouble implementing this kind of logic in their dialogs?
Thank you in advance!
Dave