Hi,
I would like to take a text input, saved in a string variable, from the user interface and bind as an option in a DropDownBox. The text input should be changable real time and the DropDown option should also be updated to match this text input. How can I do this?
Basically I would like to do this (which doesn’t work):
name :=‘userName’;
itemCollection[0] := ‘{“value”:“0”,“text”: name}’;
and get the following result in the itemCollection in the Watch and bind it to the DataProvider of the DropDownBox :
itemCollection[0] = ‘{“value”:“0”,“text”: userName}’
I used to do this in VC4, where the data was bound by a simple string array and not the key/value pairs, and I now have to recreate this functionality in mappView.
Thanks in advance!