Prevent interacting with input choices.
enableInput(id, values = NULL, invert = FALSE,
session = getDefaultReactiveDomain())disableInput(id, values = NULL, invert = FALSE, reset = FALSE,
session = getDefaultReactiveDomain())
A character string specifying the id of an input.
A vector specifying values to enable or disable.
One of TRUE
or FALSE
, if TRUE
choices which do not have
a matching value are enabled or disabled, defaults to FALSE
.
A reactive context, defaults to getDefaultReactiveDomain()
.
One of TRUE
or FALSE
, if TRUE
choices are all enabled
prior to disabling choices, defaults to FALSE
.
Other utilities: invalidateInput
,
updateInput