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
When the datepicker is attached to an input field, it will not trigger a change event after selecting the date.
This became visible as my code relied on change events to occur; for example when combining this plugin with the jQuery mask plugin.
This is my current a workaround:
const datePicker = new AirDatepicker(el, {
....
onSelect: (e) => {
// Make sure jQuery mask plugin and our form handlers update.
this.$el.change();
}
}
The text was updated successfully, but these errors were encountered:
When the datepicker is attached to an input field, it will not trigger a
change
event after selecting the date.This became visible as my code relied on change events to occur; for example when combining this plugin with the jQuery mask plugin.
This is my current a workaround:
The text was updated successfully, but these errors were encountered: