Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Selection getting collapsed for the first time

Avatar

Level 2

Hi Team , 

I am facing problem regarding Selection widget getting collapsed for the first time and works properly after first time. I am using two selection inside a same panel in dialog in which on the basis of first option chosen in Selection 1 , I am setting the options for Selection 2 using method (".setOptions()") method .After which the Selection 2 is getting collapsed for the first time , on clicking it again it it expands properly.  Can anything be done regarding this . Any help is greatly appreciated.

 

Thanks,

Varun

4 Replies

Avatar

Level 2

Sorry Scott  but did not got your question , I am referring here to a component whose dialog is having two selection type of widgets . And I need to change the options of second selection on the basis of first selection . The jcr:primaryType of dialog is "cq:dialog"

I am using it on normal desktop  

Avatar

Level 10

I meant the AEM Touch UI as opposed to classic. The artilce that Kautuk referenced should help you. 

https://helpx.adobe.com/experience-manager/using/creating-touchui-dynamic.html

Also - see this artilce that talks about settign different fields on a Touch UI Dialog based on a selection of a drop down: http://scottsdigitalcommunity.blogspot.ca/2017/01/dynamically-changing-adobe-experience.html