Ticket #9688 (closed bug: notabug)
No event when date is changed by restrictMinMax
|Reported by:||nash||Owned by:|
When integrating with frameworks such as angular.js, one can subscribe to onSelect event. However, if a date was changed by applying new min/maxDate, there's no way to detect this, because onSelect isn't fired.
The main input and altField are updated as expected, although altField is not always an option.
I'm not sure about onSelect, maybe a special event like onChangeDate (to be compared to onChangeMonthYear) is needed.
Here's a simple demo to demonstrate the problem http://plnkr.co/edit/DhikhK5DiaIswbreBKix