I display the birthdate of people in a shiny app using dateInput(). When nobody is selected, the value of this input field needs to be set to empty, or NULL. I tried
value = "",
value = " "
value = NULL
but none of them works. The content of the field sets itself to the current date.
How to display empty Date fields using dateInput()?
I also would like to sometimes disable the dateInput widget using shinyjs::disable(), but this function seem to be unable to disable the dateInput widget. Is that normal?