tempusdominus / bootstrap-4

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

Escapes `[` and `]` characters in selector #364

Open gdomingu opened 3 years ago

gdomingu commented 3 years ago

Sorry I know there are a lot of changes going on right now, so I'm not sure if this PR is even to the right repo. Please let me know if I need to make it to https://github.com/tonix-tuft/tempusdominus-bootstrap instead. Happy New Year 🎉

Issue When the input field has an id with brackets in it, TD stops working because jQuery isn't able to find the element. Example https://jsfiddle.net/mpLngd81/

Please read this blog post