Description Usage Arguments See Also
View source: R/shinyExtInput.R
Creates a dropdown menu from which a user can select a date. This is based on https://github.com/eternicode/bootstrap-datepicker.
1 2 | datePicker(inputId, label, default = Sys.Date(),
format = "dd-mm-yyyy")
|
inputId |
Specifies the input slot that will be used to access the value. |
label |
The contents of the button–usually a text label, but you could also use any other HTML, like an image. |
default |
Default date value, if empty Sys.Date() is used. |
format |
Date format, if empty "dd-mm-yyyy" is used. |
[bootstrap-datepicker](https://github.com/eternicode/bootstrap-datepicker)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.