You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Don't use the change event, use the input event. Which one you use it doesn't matter they won't fire.
The problem is that the input event is not being dispatched! You have to manually dispatch the event like this:
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
The text was updated successfully, but these errors were encountered: