We are working on a POC and below is our requirement.
We have a Touch Dialog with two fields (1- Drop down & 2-Tag Picker). In drop down we have multiple values. User can select any value from dropdown. Now based on value selected in drop down we need to set the root path of Tag Picker.
If User Selected 'Option 1' from drop down then tag picker root path should be set as - "/etc/tags/abc"
If User Selected 'Option 2' from drop down then the same tag picker root path should be set as - "/etc/tags/xyz"
If anyone have any idea how to achieve it please share.
Go to this node and copy it according to your requirement /apps/weretail/components/content/carousel/cq:dialog/content/items/settings/items/columns/items/displayAs under the items node you see pages and images which have the key value pairs. The title of your option 1 , option 2 will be the keys and the value will be the root path '/etc/tags/abc'