We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19e4a23 commit e33d084Copy full SHA for e33d084
composer.json
@@ -10,7 +10,7 @@
10
"css"
11
],
12
"homepage": "https://www.github.com/strapless/base",
13
- "version": "1.1.11",
+ "version": "1.1.12",
14
"authors": [
15
{
16
"name": "Aaron M Jones",
js/search-field.js
@@ -57,11 +57,12 @@
57
58
switch (keyPressed) {
59
case keys.ESC:
60
- $input.val('');
+ $input.val('').trigger('change');
61
return;
62
case keys.TAB:
63
+ if( plugin.currentValue !== $input.val() ) { plugin.doCallback(); }
64
+ return;
65
case keys.RETURN:
- // Perform immediate search
66
if( plugin.currentValue !== $input.val() ) { plugin.doCallback(); }
67
break;
68
default:
0 commit comments