How to set a default selected option in the Touch UI select element?
I know this has been asked 8 years ago here. But none of the answers worked for me.
I am using AEM Cloud, and have the following `select` element for cq_dialog:
<maxColumns
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/select"
fieldLabel="Max number of columns"
name="./maxColumns">
<items jcr:primaryType="nt:unstructured">
<six
jcr:primaryType="nt:unstructured"
text="6"
value="wvc-imagelist__flex-16"/>
<five
jcr:primaryType="nt:unstructured"
text="5"
selected="true"
value="wvc-imagelist__flex-20"/>
<four
jcr:primaryType="nt:unstructured"
text="4"
value="wvc-imagelist__flex-25"/>
</items>
</maxColumns>
So by default, the top node "6" will be selected per below.

What can I do to make the middle "5" to be the default selection, like below?

Thank you,