| update_ds_radio_group | R Documentation |
Change the selected value of a ds_radio_group() from the server.
update_ds_radio_group(
session = shiny::getDefaultReactiveDomain(),
inputId,
value = NULL
)
session |
The Shiny session object |
inputId |
The input ID |
value |
The new selected value |
Called for its side effect. Returns NULL invisibly.
## Not run:
update_ds_radio_group(session, "opts", value = "b")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.