shinyWidgets (version 0.5.1)

updateAirDateInput: Change the value of airDatepickerInput on the client

Description

Change the value of airDatepickerInput on the client

Usage

updateAirDateInput(
  session,
  inputId,
  label = NULL,
  value = NULL,
  clear = FALSE,
  options = NULL
)

Arguments

session

The session object passed to function given to shinyServer.

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.

clear

Logical, clear all previous selected dates.

options

Options to update, see available ones here: http://t1m0n.name/air-datepicker/docs/.

Examples

Run this code
# NOT RUN {
if (interactive()) {

  demoAirDatepicker("update")

}
# }

Run the code above in your browser using DataCamp Workspace