-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v4: can't set an min/maxDate with the onHide event #677
Comments
At this moment
I am undecided if I think the hide event should include the current date. I could see the benefits in your situation. |
Yes, your solution works fine. Good question, is it a big thing or why are you undecided? |
After thinking about it more, I think this could be implemented. |
Please check the latest, it should be fixed |
I want to set the minDate and maxDate for two Datetimepickers.
It works fine if you use the onChange event, but if you use the onHide event, it crashes because the event param is undefined.
Error Message:
bootstrap-datetimepicker.js:1296 Uncaught TypeError: minDate() Could not parse date parameter: undefined
http://jsfiddle.net/jantastic/j4brdsnn/
Jan
The text was updated successfully, but these errors were encountered: