@vaadin/multi-select-combo-box 24.4.4 → 24.4.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 +13 -13
- package/src/vaadin-multi-select-combo-box.js +4 -2
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
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.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.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.5",
|
|
42
|
+
"@vaadin/combo-box": "~24.4.5",
|
|
43
|
+
"@vaadin/component-base": "~24.4.5",
|
|
44
|
+
"@vaadin/field-base": "~24.4.5",
|
|
45
|
+
"@vaadin/input-container": "~24.4.5",
|
|
46
|
+
"@vaadin/item": "~24.4.5",
|
|
47
|
+
"@vaadin/lit-renderer": "~24.4.5",
|
|
48
|
+
"@vaadin/overlay": "~24.4.5",
|
|
49
|
+
"@vaadin/vaadin-lumo-styles": "~24.4.5",
|
|
50
|
+
"@vaadin/vaadin-material-styles": "~24.4.5",
|
|
51
|
+
"@vaadin/vaadin-themable-mixin": "~24.4.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": "4670908dfba42d5bfe1225394e82a522d8c5a1be"
|
|
64
64
|
}
|
|
@@ -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