@vaadin/multi-select-combo-box 24.4.4 → 24.4.6
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.4.
|
|
3
|
+
"version": "24.4.6",
|
|
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.4.
|
|
42
|
-
"@vaadin/combo-box": "~24.4.
|
|
43
|
-
"@vaadin/component-base": "~24.4.
|
|
44
|
-
"@vaadin/field-base": "~24.4.
|
|
45
|
-
"@vaadin/input-container": "~24.4.
|
|
46
|
-
"@vaadin/item": "~24.4.
|
|
47
|
-
"@vaadin/lit-renderer": "~24.4.
|
|
48
|
-
"@vaadin/overlay": "~24.4.
|
|
49
|
-
"@vaadin/vaadin-lumo-styles": "~24.4.
|
|
50
|
-
"@vaadin/vaadin-material-styles": "~24.4.
|
|
51
|
-
"@vaadin/vaadin-themable-mixin": "~24.4.
|
|
41
|
+
"@vaadin/a11y-base": "~24.4.6",
|
|
42
|
+
"@vaadin/combo-box": "~24.4.6",
|
|
43
|
+
"@vaadin/component-base": "~24.4.6",
|
|
44
|
+
"@vaadin/field-base": "~24.4.6",
|
|
45
|
+
"@vaadin/input-container": "~24.4.6",
|
|
46
|
+
"@vaadin/item": "~24.4.6",
|
|
47
|
+
"@vaadin/lit-renderer": "~24.4.6",
|
|
48
|
+
"@vaadin/overlay": "~24.4.6",
|
|
49
|
+
"@vaadin/vaadin-lumo-styles": "~24.4.6",
|
|
50
|
+
"@vaadin/vaadin-material-styles": "~24.4.6",
|
|
51
|
+
"@vaadin/vaadin-themable-mixin": "~24.4.6"
|
|
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": "46d3cdb72eb99d544c7bb86c3de95043b9e5857f"
|
|
64
64
|
}
|
|
@@ -399,6 +399,10 @@ class MultiSelectComboBoxInternal extends ComboBoxDataProviderMixin(ComboBoxMixi
|
|
|
399
399
|
}
|
|
400
400
|
|
|
401
401
|
if (this.opened) {
|
|
402
|
+
// Store filter value for checking if user input is matching
|
|
403
|
+
// an item which is already selected, to not un-select it.
|
|
404
|
+
this.lastFilter = this.filter;
|
|
405
|
+
|
|
402
406
|
this.dispatchEvent(
|
|
403
407
|
new CustomEvent('combo-box-item-selected', {
|
|
404
408
|
detail: {
|
|
@@ -448,7 +448,6 @@ class MultiSelectComboBox extends ResizeMixin(InputControlMixin(ThemableMixin(El
|
|
|
448
448
|
*/
|
|
449
449
|
placeholder: {
|
|
450
450
|
type: String,
|
|
451
|
-
value: '',
|
|
452
451
|
observer: '_placeholderChanged',
|
|
453
452
|
},
|
|
454
453
|
|
|
@@ -791,9 +790,12 @@ class MultiSelectComboBox extends ResizeMixin(InputControlMixin(ThemableMixin(El
|
|
|
791
790
|
// Use placeholder for announcing items
|
|
792
791
|
if (this._hasValue) {
|
|
793
792
|
const tmpPlaceholder = this._mergeItemLabels(selectedItems);
|
|
793
|
+
if (this.__tmpA11yPlaceholder === undefined) {
|
|
794
|
+
this.__savedPlaceholder = this.placeholder;
|
|
795
|
+
}
|
|
794
796
|
this.__tmpA11yPlaceholder = tmpPlaceholder;
|
|
795
797
|
this.placeholder = tmpPlaceholder;
|
|
796
|
-
} else {
|
|
798
|
+
} else if (this.__tmpA11yPlaceholder !== undefined) {
|
|
797
799
|
delete this.__tmpA11yPlaceholder;
|
|
798
800
|
this.placeholder = this.__savedPlaceholder;
|
|
799
801
|
}
|
package/web-types.json
CHANGED