-
Couldn't load subscription status.
- Fork 5.3k
Open
Description
For Datepicker, when a date is selected and the associated input's value is updated, the "change" event is fired, but the "input" event is not. I assume this is because Datepicker was originally created before the "input" event became standard.
Although this has been the longtime behavior, it looks to be a simple change to fire the "input" event at the same time.
jquery-ui/ui/widgets/datepicker.js
Lines 1111 to 1113 in e21a254
| } else if ( inst.input ) { | |
| inst.input.trigger( "change" ); // fire the change event | |
| } |