hi , I am trying to access the selected values in AEM but only able to access the first value of the multiselect field
for e.g:
Views
Replies
Total Likes
It is suggested to access the dialog values in the java model and then pass them to HTL like this: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/htl-render-multiple-select...
Hope this helps!
Thanks,
Kiran Vedantam
Hi,
Please check the below link.
https://www.linkedin.com/pulse/aem-hideshow-drop-down-select-options-more-than-one-values-vikraman/
Hope this can help you!
Hi Rahul,
Where do you want to get the values, is it in the dialog or in the HTL?
in HTL @arunpatidar
not in HTL but in the listener file I need to have the values that is the js file in extraClientLibs
Please check https://developer.adobe.com/experience-manager/reference-materials/6-4/coral-ui/coralui3/Coral.Selec...
var instance = document.querySelector('.dropdown-class')
var allItems = instance.selectedItems()
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies