Hello members,
I have a multi-select field. I select multiple values from the select box.
After submitting the dialog, values are saved according to my selected order.
The problem is when I reopen the dialog, it sort alphabetically. How do I prevent this?
This is my sample code,
<buttonIcon
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/select"
multiple="true"
fieldLabel="Button Icon"
name="./buttonIcon">
<items jcr:primaryType="nt:unstructured">
<arrow
jcr:primaryType="nt:unstructured"
text="Arrow"
value="arrow"/>
<email
jcr:primaryType="nt:unstructured"
text="Email"
value="email"/>
<next
jcr:primaryType="nt:unstructured"
text="Next"
value="next"/>
<check
jcr:primaryType="nt:unstructured"
text="Check"
value="check"/>
</items>
</buttonIcon>