onChangeView event or .invalid state on .prev and .next
jcubic opened this issue · 2 comments
jcubic commented
I need this event, but I actually I need .prev
and .next
to have class .invalid
when you can't go prev or next because the date is out of range. I have my own style on top of the library and I need to hide .next
and .prev
, when you can't got next or prev month.
I've tried to use:
$(document).on('change', '... select', function() {
});
but this event is not triggered, I have no idea why, I don't see return false
or .preventDefault()
in the library for change event. Some part of my application code may interfere with the library.
I can contribute with the code if you're willing to merge. I wanted to modify my copy, but it would be nice to have this in library.