Update a dropdown input value (and optional choices) from server logic
tuiUpdateDropdownInput.RdUpdates the selection and/or choices of an existing tuiInputDropdown()
input.
Arguments
- id
Input id passed to
tuiInputDropdown().- selected
Optional selected value. Must match one of effective choices. If
NULL, current value is kept when valid; otherwise the first choice is selected.- choices
Optional replacement choice vector.