Skip to contents

Change the selected value of a ds_radio_group() from the server.

Usage

update_ds_radio_group(
  session = shiny::getDefaultReactiveDomain(),
  inputId,
  value = NULL
)

Arguments

session

The Shiny session object

inputId

The input ID

value

The new selected value

Value

Called for its side effect. Returns NULL invisibly.

Examples

if (FALSE) { # \dontrun{
update_ds_radio_group(session, "opts", value = "b")
} # }