Closed uberllama closed 10 years ago
On my mobile right now, but best guess is that datepair isn't getting re-initialized the way you think it is, since #modal doesn't get re-created each time. Try attaching datepair to an element inside #modal.
Will try, cheers.
Victory!
Hey guys, long day, might be missing something obvs.
I'm trying to use bootstrap datepicker, query timepicker, and datepair in a bootstrap modal and seeing weird behaviour.
My code looks likes this:
The loaded modal has some input fields with the default date and time class names. The first time I open a modal, everything works as expected. But any subsequent open gives me
Uncaught TypeError: Cannot set property 'minTime' of undefined
.Thoughts?