Skip to contents

Change the value or choices from the server.

Usage

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

Arguments

session

The Shiny session object

inputId

The input ID of the suggestion component

value

The new value

choices

New character vector of choices

Value

Called for its side effect. Returns NULL invisibly.

Examples

if (FALSE) { # \dontrun{
update_ds_suggestion(session, "fruit", value = "Apple")
} # }