@vaadin/vaadin-combo-box 5.5.0 → 5.5.2
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
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"repository": "vaadin/vaadin-combo-box",
|
|
11
11
|
"homepage": "https://vaadin.com/components",
|
|
12
12
|
"name": "@vaadin/vaadin-combo-box",
|
|
13
|
-
"version": "5.5.
|
|
13
|
+
"version": "5.5.2",
|
|
14
14
|
"main": "vaadin-combo-box.js",
|
|
15
15
|
"author": "Vaadin Ltd",
|
|
16
16
|
"license": "Apache-2.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@polymer/polymer": "^3.0.0",
|
|
39
39
|
"@vaadin/vaadin-control-state-mixin": "^2.2.2",
|
|
40
40
|
"@vaadin/vaadin-overlay": "^3.5.0",
|
|
41
|
-
"@vaadin/vaadin-text-field": "^2.
|
|
41
|
+
"@vaadin/vaadin-text-field": "^2.10.0",
|
|
42
42
|
"@vaadin/vaadin-themable-mixin": "^1.6.1",
|
|
43
43
|
"@vaadin/vaadin-lumo-styles": "^1.1.1",
|
|
44
44
|
"@vaadin/vaadin-material-styles": "^1.1.2",
|
|
@@ -770,7 +770,9 @@ export const ComboBoxMixin = subclass => class VaadinComboBoxMixinElement extend
|
|
|
770
770
|
_inputValueChanged(e) {
|
|
771
771
|
// Handle only input events from our inputElement.
|
|
772
772
|
if (e.composedPath().indexOf(this.inputElement) !== -1) {
|
|
773
|
-
|
|
773
|
+
if (!e.__fromClearButton) {
|
|
774
|
+
this._inputElementValue = this.inputElement[this._propertyForValue];
|
|
775
|
+
}
|
|
774
776
|
this._filterFromInput(e);
|
|
775
777
|
}
|
|
776
778
|
}
|
package/src/vaadin-combo-box.js
CHANGED
|
@@ -203,7 +203,7 @@ class ComboBoxElement extends
|
|
|
203
203
|
}
|
|
204
204
|
</style>
|
|
205
205
|
|
|
206
|
-
<vaadin-text-field part="text-field" id="input" pattern="[[pattern]]" prevent-invalid-input="[[preventInvalidInput]]" value="
|
|
206
|
+
<vaadin-text-field part="text-field" id="input" pattern="[[pattern]]" prevent-invalid-input="[[preventInvalidInput]]" value="[[_inputElementValue]]" autocomplete="off" invalid="[[invalid]]" label="[[label]]" name="[[name]]" placeholder="[[placeholder]]" required="[[required]]" disabled="[[disabled]]" readonly="[[readonly]]" helper-text="[[helperText]]" error-message="[[errorMessage]]" autocapitalize="none" autofocus="[[autofocus]]" on-change="_stopPropagation" on-input="_inputValueChanged" clear-button-visible="[[clearButtonVisible]]" theme\$="[[theme]]">
|
|
207
207
|
<slot name="prefix" slot="prefix"></slot>
|
|
208
208
|
<slot name="helper" slot="helper">[[helperText]]</slot>
|
|
209
209
|
|
|
@@ -229,7 +229,7 @@ class ComboBoxElement extends
|
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
static get version() {
|
|
232
|
-
return '5.5.
|
|
232
|
+
return '5.5.2';
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
static get properties() {
|