I'm trying to take the selected text from a dropdown menu (NameList_1) and put it into a button.
so if my dropdown list is this:
{
"Name 1": 0,
"Name 2": 1,
"Name 3": 45,
"Name 4": 23,
}
and from the dropdown I select Name 3 I want a button that's next to it, to also show this same text.
I cannot for the life of me figure this out.
the problem is that I need to use the dropdown index and not the value of the dropdown as the value of the names as you can see is not strictly 0,1,2,3,4,5 but is a random number.
thank you!
Alex