update_ds_radio_group: Update Radio Group

View source: R/ds-input.R

update_ds_radio_groupR Documentation

Update Radio Group

Description

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

## Not run: 
update_ds_radio_group(session, "opts", value = "b")

## End(Not run)

shinyds documentation built on Aug. 22, 2026, 5:08 p.m.