Skip to contents

Change the selected value or choices from the server.

Usage

update_ds_select(
  session = shiny::getDefaultReactiveDomain(),
  inputId,
  value = NULL,
  choices = NULL
)

Arguments

session

The Shiny session object

inputId

The input ID

value

The new selected value

choices

New named vector of choices

Value

Called for its side effect. Returns NULL invisibly.

Examples

if (FALSE) { # \dontrun{
update_ds_select(session, "country", value = "no")
} # }