@vaadin/multi-select-combo-box 23.2.1 → 23.2.3

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": "23.2.1",
3
+ "version": "23.2.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,14 +37,14 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "@polymer/polymer": "^3.0.0",
40
- "@vaadin/combo-box": "~23.2.1",
41
- "@vaadin/component-base": "~23.2.1",
42
- "@vaadin/field-base": "~23.2.1",
43
- "@vaadin/input-container": "~23.2.1",
44
- "@vaadin/lit-renderer": "~23.2.1",
45
- "@vaadin/vaadin-lumo-styles": "~23.2.1",
46
- "@vaadin/vaadin-material-styles": "~23.2.1",
47
- "@vaadin/vaadin-themable-mixin": "~23.2.1"
40
+ "@vaadin/combo-box": "~23.2.3",
41
+ "@vaadin/component-base": "~23.2.3",
42
+ "@vaadin/field-base": "~23.2.3",
43
+ "@vaadin/input-container": "~23.2.3",
44
+ "@vaadin/lit-renderer": "~23.2.3",
45
+ "@vaadin/vaadin-lumo-styles": "~23.2.3",
46
+ "@vaadin/vaadin-material-styles": "~23.2.3",
47
+ "@vaadin/vaadin-themable-mixin": "~23.2.3"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@esm-bundle/chai": "^4.3.4",
@@ -55,5 +55,5 @@
55
55
  "web-types.json",
56
56
  "web-types.lit.json"
57
57
  ],
58
- "gitHead": "a6c314f6927bfd3309fc735eae6c6dc72ab8367a"
58
+ "gitHead": "1af597f358327f1be61ccfb05ec83378dcdf0884"
59
59
  }
@@ -326,6 +326,21 @@ class MultiSelectComboBoxInternal extends ComboBoxDataProviderMixin(ComboBoxMixi
326
326
 
327
327
  return super._shouldLoadPage(page);
328
328
  }
329
+
330
+ /**
331
+ * Override method inherited from the combo-box
332
+ * to not clear the data provider cache when read-only.
333
+ *
334
+ * @protected
335
+ * @override
336
+ */
337
+ clearCache() {
338
+ if (this.readonly) {
339
+ return;
340
+ }
341
+
342
+ super.clearCache();
343
+ }
329
344
  }
330
345
 
331
346
  customElements.define(MultiSelectComboBoxInternal.is, MultiSelectComboBoxInternal);
@@ -653,6 +653,10 @@ class MultiSelectComboBox extends ResizeMixin(InputControlMixin(ThemableMixin(El
653
653
  if (readonly || oldReadonly) {
654
654
  this.__updateChips();
655
655
  }
656
+
657
+ if (this.dataProvider) {
658
+ this.clearCache();
659
+ }
656
660
  }
657
661
 
658
662
  /** @private */
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/multi-select-combo-box",
4
- "version": "23.2.1",
4
+ "version": "23.2.3",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -656,10 +656,6 @@
656
656
  {
657
657
  "name": "invalid-changed",
658
658
  "description": "Fired when the `invalid` property changes."
659
- },
660
- {
661
- "name": "selectedItems-changed",
662
- "description": "Fired when the `selectedItems` property changes."
663
659
  }
664
660
  ]
665
661
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/multi-select-combo-box",
4
- "version": "23.2.1",
4
+ "version": "23.2.3",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -277,13 +277,6 @@
277
277
  "value": {
278
278
  "kind": "expression"
279
279
  }
280
- },
281
- {
282
- "name": "@selectedItems-changed",
283
- "description": "Fired when the `selectedItems` property changes.",
284
- "value": {
285
- "kind": "expression"
286
- }
287
280
  }
288
281
  ]
289
282
  }