Creates a GovBR date picker (br-datetimepicker). The value is
available in input$<inputId> as a Date (or NULL
while empty/invalid). Use update_br_date_input() to change it
from the server.
Examples
if (interactive()) {
ui <- shiny::fluidPage(
use_govbr(),
shinyGovBRstyle::br_date_input(
inputId = "data",
label = "Data de nascimento"
),
shiny::verbatimTextOutput("valor")
)
server <- function(input, output, session) {
output$valor <- shiny::renderPrint(input$data)
}
shinyApp(ui = ui, server = server)
}
