Learn R Programming

yonder (version 0.1.0)

enableInput: Enable, disable input

Description

Prevent interacting with input choices.

Usage

enableInput(id, values = NULL, invert = FALSE,
  session = getDefaultReactiveDomain())

disableInput(id, values = NULL, invert = FALSE, reset = FALSE, session = getDefaultReactiveDomain())

Arguments

id

A character string specifying the id of an input.

values

A vector specifying values to enable or disable.

invert

One of TRUE or FALSE, if TRUE choices which do not have a matching value are enabled or disabled, defaults to FALSE.

session

A reactive context, defaults to getDefaultReactiveDomain().

reset

One of TRUE or FALSE, if TRUE choices are all enabled prior to disabling choices, defaults to FALSE.

See Also

Other utilities: invalidateInput, updateInput