In my embedded form, I previously loaded the select input with a: Map<Integer, String> approvedRevisionsMap object (from a JavaDelegate class, serializing the approvedRevisionsMap object to json).
<select cam-variable-name="revisions" cam-variable-type="String" cam-choices="APPROVED_REVISIONS" required class="form-control"> </select>
After I pick a value from the select in the form,
I can only get the index of the selected value by doing:
(that would be the key of a <key,value> pair)
I need the selected value itself, not the index, how do I get it ?
(I want the value from a <key,value> pair)
Hope I was clear,
thanks in advance.