Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to set a Settings <Select> Option from a message?

ANSWERED

I have a Settings screen with a <Select> component. The Select component has 4 options to choose from. The user can change the selected option from the watch. Using messaging, I can update <Text> components on the Settings screen, but not sure how to set the <Select> options index. How can I set the proper Options index?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Try setItem to something like

JSON.stringify({"selected":[0,2,4]})
Peter McLennan
Gondwana Software

View best answer in original post

Best Answer
0 Votes
1 REPLY 1

Try setItem to something like

JSON.stringify({"selected":[0,2,4]})
Peter McLennan
Gondwana Software
Best Answer
0 Votes