We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01b4082 commit 9268541Copy full SHA for 9268541
1 file changed
asset/js/widget/Completer.js
@@ -498,6 +498,11 @@ define(["../notjQuery"], function ($) {
498
}
499
500
this.hideSuggestions();
501
+
502
+ // ADD: autosubmit when user leaves without selecting a suggestion
503
+ if (this.shouldAutoSubmit()) {
504
+ $(completedInput.form).trigger('submit', { submittedBy: completedInput });
505
+ }
506
507
}, 250);
508
0 commit comments