Default Selection for a dynamic Touch UI Select component
Hi,
I am working on a dropdown in Content Fragment Editor to select Elements. Dropdown is coming using /libs/granite/ui/components/coral/foundation/form/select component which is again pointing to a datasource to populate dropdown options.
Dropdown Path- /libs/dam/cfm/admin/content/fragment-editor/jcr:content/content/items/bar/primary/fragmentElements
Select component- /libs/granite/ui/components/coral/foundation/form/select
Datasource path- /libs/dam/cfm/admin/components/datasources/elements/elements.jsp
By default it shows the main element from the dropdown as selected. However I want to select my 2nd element from dropdown on Editor first time load.
Is there way using which I can make this element as selected by default in datasource? PFB screenshots.

