View source: R/ds-suggestion.R
| update_ds_suggestion | R Documentation |
Change the value or choices from the server.
update_ds_suggestion(
session = shiny::getDefaultReactiveDomain(),
inputId,
value = NULL,
choices = NULL
)
session |
The Shiny session object |
inputId |
The input ID of the suggestion component |
value |
The new value |
choices |
New character vector of choices |
Called for its side effect. Returns NULL invisibly.
## Not run:
update_ds_suggestion(session, "fruit", value = "Apple")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.