Skip to contents

Change the checked state from the server.

Usage

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

Arguments

session

The Shiny session object

inputId

The input ID

value

The new checked state (TRUE/FALSE)

Value

Called for its side effect. Returns NULL invisibly.

Examples

if (FALSE) { # \dontrun{
update_ds_checkbox(session, "agree", value = FALSE)
} # }