update_ds_checkbox: Update Checkbox

View source: R/ds-input.R

update_ds_checkboxR Documentation

Update Checkbox

Description

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

## Not run: 
update_ds_checkbox(session, "agree", value = FALSE)

## End(Not run)

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