- Home /
Dropdown extra options
How to add additional parameters to a value? At least just an ID, so as not to navigate only through the name of the position. Approximately as it is in the html:
<option value='100'>Next number</option>
As an option, I tried to add a text object to the Item, and it goes to new lines, but how to set it a value from the code when generating the dropdown?
(sorry for my English)
screenshot-4.jpg
(22.5 kB)
Comment
Answer by iNjiArt · May 20, 2020 at 07:59 AM
I solved this problem by creating two List, I load one into the dropdown, and from the second I take values when I select from the dropdown.
In the second, there can be both IDs and any other objects.
I think this is a normal solution.
unknown.png
(5.3 kB)
unknown-1.png
(32.5 kB)