Update optionalSelectInput
updateOptionalSelectInput.Rd
Arguments
- session
The session object passed to function given to shinyServer.
- inputId
The id of the input object.
- label
Display a text in the center of the switch.
- selected
The new selected value (or multiple values if
multiple = TRUE
). To reset selected value, in case of multiple picker, usecharacter(0)
.- choices
List of values to select from. If elements of the list are named then that name rather than the value is displayed to the user.