Change the value of airDatepickerInput() on the client
Source: R/input-airDatepicker.R
updateAirDateInput.RdChange the value of airDatepickerInput() on the client
Usage
updateAirDateInput(
session = getDefaultReactiveDomain(),
inputId,
label = NULL,
value = NULL,
tz = NULL,
clear = FALSE,
options = NULL,
show = FALSE,
hide = FALSE
)Arguments
- session
The
sessionobject passed to function given toshinyServer.- inputId
The id of the input object.
- label
The label to set for the input object.
- value
The value to set for the input object.
- tz
The timezone.
- clear
Logical, clear all previous selected dates.
- options
Options to update, see available ones in JavaScript documentation
- show, hide
Show / hide datepicker.
Examples
if (interactive()) {
demoAirDatepicker("update")
}