I have attempted to use shinyjs::hide, by putting the inputId of the button, not the date picker, but that only hide the entire date picker.
shinyjs::hide
inputId