We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4bd2a6 commit 13dc7deCopy full SHA for 13dc7de
1 file changed
resources/views/partials/bootstrap-table.blade.php
@@ -368,6 +368,18 @@ class="form-control ${this.constants.classes.input}"
368
_this.applyAdvancedSearch();
369
});
370
371
+ // Let Enter keypresses reuse the same submit path so keyboard users can apply filters quickly.
372
+ this.$toolbarModal.find('.toolbar-model-form')
373
+ .off('keydown.snipeAdvancedSearch')
374
+ .on('keydown.snipeAdvancedSearch', ':input', function (event) {
375
+ if (event.key !== 'Enter' || $(event.target).is('textarea')) {
376
+ return;
377
+ }
378
+
379
+ event.preventDefault();
380
+ $(this).closest('form').trigger('submit');
381
+ });
382
383
this.initAdvancedSearchFooter();
384
};
385
0 commit comments