tempusdominus / bootstrap-4

Tempus Dominus Bootstrap 4 Datetime Picker
https://getdatepicker.com/5-4/
MIT License
611 stars 239 forks source link

Calendar autoclose not working without visible input text #346

Open davecameos opened 4 years ago

davecameos commented 4 years ago

Hi,

This is maybe a feature and not a bug...

The calendar does not close when clicking outside, if the input text is hidden. Is there a workaround for this? I would like just to show the button and not the input text.

Thanks

yuu-eguci commented 4 years ago

I have the same problem. The problem happens when with input type="hidden", style="visibility: hidden;" as well as style="display: none;". I want the calendar closes even when the input element is hidden.

issue