shinyWidgets icon indicating copy to clipboard operation
shinyWidgets copied to clipboard

todayButton as Date not working

Open barisguven opened this issue 2 years ago • 1 comments

I have the following Air Date Picker Input in my Shiny app:

airMonthpickerInput("range", strong("Date Range"), range = T, separator = " to ", dateFormat = "MMM-yyyy", minDate = "1947-01-01", maxDate = "2022-11-01", value = c("1947-01-01", "2022-11-01"), clearButton = T, todayButton = "2022-11-01", autoClose = T, update_on = "close", addon = "none")

Yet this throws the error "argument is not interpretable as logical". When I place my preferred date in as.Date() function [todayButton = as.Date("2022-11-01")], the app works but Today button is not set to the date I provided. Is it a bug or I am missing something?

barisguven avatar Jan 05 '23 15:01 barisguven

Sorry that functionnality is not implemented yet. I'll look into it.

pvictor avatar Apr 04 '23 12:04 pvictor