datepicker is shown even if its input element is hidden