From 8a60315d50c4e2a5ef3020e6913153831db9d8e9 Mon Sep 17 00:00:00 2001 From: Bill Orpet Date: Wed, 25 May 2022 13:26:56 -0500 Subject: [PATCH] Datepicker: Trigger "input" event after select date --- ui/widgets/datepicker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/widgets/datepicker.js b/ui/widgets/datepicker.js index 9ca29a0db..aa8aae00d 100644 --- a/ui/widgets/datepicker.js +++ b/ui/widgets/datepicker.js @@ -1109,7 +1109,7 @@ $.extend( Datepicker.prototype, { if ( onSelect ) { onSelect.apply( ( inst.input ? inst.input[ 0 ] : null ), [ dateStr, inst ] ); // trigger custom callback } else if ( inst.input ) { - inst.input.trigger( "change" ); // fire the change event + inst.input.trigger( "input" ).trigger( "change" ); // fire the input and change events } if ( inst.inline ) {