T00rk / bootstrap-material-datetimepicker

Datepicker for bootstrap-material
http://t00rk.github.io/bootstrap-material-datetimepicker/
MIT License
9 stars 4 forks source link

when using in an ajax loaded modal, dates not selectable and months won't cycle #222

Open jon-hill-airangel opened 5 years ago

jon-hill-airangel commented 5 years ago

$('body').on('click', '.form_timedate', function(){ $(this).bootstrapMaterialDatePicker({ format : 'DD/MM/YYYY', weekStart : 0, time: false}); });

The modal containing the target element appears. The datepicker then appears as normal when the form element is clicked. However when I click on a day the day does not change. Also when i attempt to cycle through the months it changes month once and then on every subsequent attempt to cycle through it jumps back to the previous month immediately after the month changes.