@vaadin/multi-select-combo-box 24.3.3 → 24.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/multi-select-combo-box",
|
|
3
|
-
"version": "24.3.
|
|
3
|
+
"version": "24.3.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -38,17 +38,17 @@
|
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@polymer/polymer": "^3.0.0",
|
|
41
|
-
"@vaadin/a11y-base": "~24.3.
|
|
42
|
-
"@vaadin/combo-box": "~24.3.
|
|
43
|
-
"@vaadin/component-base": "~24.3.
|
|
44
|
-
"@vaadin/field-base": "~24.3.
|
|
45
|
-
"@vaadin/input-container": "~24.3.
|
|
46
|
-
"@vaadin/item": "~24.3.
|
|
47
|
-
"@vaadin/lit-renderer": "~24.3.
|
|
48
|
-
"@vaadin/overlay": "~24.3.
|
|
49
|
-
"@vaadin/vaadin-lumo-styles": "~24.3.
|
|
50
|
-
"@vaadin/vaadin-material-styles": "~24.3.
|
|
51
|
-
"@vaadin/vaadin-themable-mixin": "~24.3.
|
|
41
|
+
"@vaadin/a11y-base": "~24.3.5",
|
|
42
|
+
"@vaadin/combo-box": "~24.3.5",
|
|
43
|
+
"@vaadin/component-base": "~24.3.5",
|
|
44
|
+
"@vaadin/field-base": "~24.3.5",
|
|
45
|
+
"@vaadin/input-container": "~24.3.5",
|
|
46
|
+
"@vaadin/item": "~24.3.5",
|
|
47
|
+
"@vaadin/lit-renderer": "~24.3.5",
|
|
48
|
+
"@vaadin/overlay": "~24.3.5",
|
|
49
|
+
"@vaadin/vaadin-lumo-styles": "~24.3.5",
|
|
50
|
+
"@vaadin/vaadin-material-styles": "~24.3.5",
|
|
51
|
+
"@vaadin/vaadin-themable-mixin": "~24.3.5"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@esm-bundle/chai": "^4.3.4",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"web-types.json",
|
|
61
61
|
"web-types.lit.json"
|
|
62
62
|
],
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "0c9b61a0facbbde52da3a96d2044de1c6a03e98c"
|
|
64
64
|
}
|
|
@@ -227,7 +227,7 @@ class MultiSelectComboBoxInternal extends ComboBoxDataProviderMixin(ComboBoxMixi
|
|
|
227
227
|
|
|
228
228
|
if (this.readonly) {
|
|
229
229
|
this.close();
|
|
230
|
-
} else {
|
|
230
|
+
} else if (this._hasValidInputValue()) {
|
|
231
231
|
// Keep selected item focused after committing on Enter.
|
|
232
232
|
const focusedItem = this._dropdownItems[this._focusedIndex];
|
|
233
233
|
this._commitValue();
|
|
@@ -1053,6 +1053,9 @@ class MultiSelectComboBox extends ResizeMixin(InputControlMixin(ThemableMixin(El
|
|
|
1053
1053
|
_onClearButtonTouchend(event) {
|
|
1054
1054
|
// Cancel the following click and focus events
|
|
1055
1055
|
event.preventDefault();
|
|
1056
|
+
// Prevent default combo box behavior which can otherwise unnecessarily
|
|
1057
|
+
// clear the input and filter
|
|
1058
|
+
event.stopPropagation();
|
|
1056
1059
|
|
|
1057
1060
|
this.clear();
|
|
1058
1061
|
}
|
package/web-types.json
CHANGED