You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example application or steps to reproduce the problem
dateInput(
inputId= ns("dob"),
label="What is your date of birth? (MM/DD/YYYY)",
format="mm-dd-yyyy",
value= as.Date(NA))
Here is the warning it creates:
Warning: Couldn't coerce the `value` argument to a date string with format yyyy-mm-dd
Describe the problem in detail
I am trying to have a dateInput where the date is not selected by default. However, if I set value = as.Date(NA), as recommended here, it results in a warning (see above). Many other users have identified this issue (see links below):
The text was updated successfully, but these errors were encountered:
isaactpetersen
changed the title
When dateInput is set to NA by default: Warning: Couldn't coerce the value argument to a date string with format yyyy-mm-dd
When dateInput is set to NA by default: Warning: Couldn't coerce the 'value' argument to a date string with format yyyy-mm-ddOct 30, 2024
System details
Output of
sessionInfo()
:Example application or steps to reproduce the problem
Here is the warning it creates:
Describe the problem in detail
I am trying to have a
dateInput
where the date is not selected by default. However, if I setvalue = as.Date(NA)
, as recommended here, it results in a warning (see above). Many other users have identified this issue (see links below):The issue seems similar to:
dateInput
to have an unspecified value #896Thanks in advance!
The text was updated successfully, but these errors were encountered: