Skip to content

How to update ui.select options? #32

Closed Answered by falkoschindler
petteri111 asked this question in Q&A
Discussion options

You must be logged in to vote

Aforementioned are not recommended anymore because view.options no longer represent the options the user passed to ui.select.

Instead, choice elements like ui.select, ui.toggle and ui.radio now have options that can be modified. Calling element.update() will update the internal data model and synchronize the new options to the client.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@rodja
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by falkoschindler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants