Not able to add set values to select field | Community
Skip to main content
Level 3
Feb 1, 2018 6:49 PM UTC
Solved

Not able to add set values to select field

Hi ,

I am following the below code to add values to a particular class in a select field.Please help me and let me know the correct procedure.

I am using AEM 6.1 version

var select = $('.myClass').data('select');

selec.setValue(['bm', 'cm', 'dk', 'ec']);

Not Able to set values to Select field please let me know correct docs URL for AEM 6.1.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
edubey
edubeyAccepted solution
Level 10
Feb 1, 2018 7:18 PM UTC

1 reply

edubey
edubeyAccepted solution
Level 10
Feb 1, 2018 7:18 PM UTC

You can refer to the code here, it shows this use case

http://www.adobeaemclub.com/touch-ui-dynamic-selection-of-multiple-drop-downs-in-aem-6-1/

Translate