@vaadin/custom-field
Advanced tools
Comparing version 24.4.10 to 24.4.11
{ | ||
"name": "@vaadin/custom-field", | ||
"version": "24.4.10", | ||
"version": "24.4.11", | ||
"publishConfig": { | ||
@@ -41,8 +41,8 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/a11y-base": "~24.4.10", | ||
"@vaadin/component-base": "~24.4.10", | ||
"@vaadin/field-base": "~24.4.10", | ||
"@vaadin/vaadin-lumo-styles": "~24.4.10", | ||
"@vaadin/vaadin-material-styles": "~24.4.10", | ||
"@vaadin/vaadin-themable-mixin": "~24.4.10", | ||
"@vaadin/a11y-base": "~24.4.11", | ||
"@vaadin/component-base": "~24.4.11", | ||
"@vaadin/field-base": "~24.4.11", | ||
"@vaadin/vaadin-lumo-styles": "~24.4.11", | ||
"@vaadin/vaadin-material-styles": "~24.4.11", | ||
"@vaadin/vaadin-themable-mixin": "~24.4.11", | ||
"lit": "^3.0.0" | ||
@@ -52,13 +52,13 @@ }, | ||
"@esm-bundle/chai": "^4.3.4", | ||
"@vaadin/combo-box": "~24.4.10", | ||
"@vaadin/date-picker": "~24.4.10", | ||
"@vaadin/email-field": "~24.4.10", | ||
"@vaadin/form-layout": "~24.4.10", | ||
"@vaadin/number-field": "~24.4.10", | ||
"@vaadin/password-field": "~24.4.10", | ||
"@vaadin/select": "~24.4.10", | ||
"@vaadin/combo-box": "~24.4.11", | ||
"@vaadin/date-picker": "~24.4.11", | ||
"@vaadin/email-field": "~24.4.11", | ||
"@vaadin/form-layout": "~24.4.11", | ||
"@vaadin/number-field": "~24.4.11", | ||
"@vaadin/password-field": "~24.4.11", | ||
"@vaadin/select": "~24.4.11", | ||
"@vaadin/testing-helpers": "^0.6.0", | ||
"@vaadin/text-area": "~24.4.10", | ||
"@vaadin/text-field": "~24.4.10", | ||
"@vaadin/time-picker": "~24.4.10", | ||
"@vaadin/text-area": "~24.4.11", | ||
"@vaadin/text-field": "~24.4.11", | ||
"@vaadin/time-picker": "~24.4.11", | ||
"sinon": "^13.0.2" | ||
@@ -70,3 +70,3 @@ }, | ||
], | ||
"gitHead": "7958b9490f227e72c5457ed3e6c752c6ab2691a4" | ||
"gitHead": "1312f60a4bb0b3158428171271fb5c0d88a1b61e" | ||
} |
@@ -194,2 +194,17 @@ /** | ||
/** | ||
* Override an observer from `FieldMixin` | ||
* to validate when required is removed. | ||
* | ||
* @protected | ||
* @override | ||
*/ | ||
_requiredChanged(required) { | ||
super._requiredChanged(required); | ||
if (required === false) { | ||
this.validate(); | ||
} | ||
} | ||
/** | ||
* @param {KeyboardEvent} e | ||
@@ -263,2 +278,4 @@ * @protected | ||
__valueChanged(value, oldValue) { | ||
this.__toggleHasValue(value); | ||
if (this.__settingValue || !this.inputs) { | ||
@@ -268,4 +285,2 @@ return; | ||
this.__toggleHasValue(value); | ||
const parseFn = this.parseValue || defaultParseValue; | ||
@@ -272,0 +287,0 @@ const valuesArray = parseFn.apply(this, [value]); |
{ | ||
"$schema": "https://json.schemastore.org/web-types", | ||
"name": "@vaadin/custom-field", | ||
"version": "24.4.10", | ||
"version": "24.4.11", | ||
"description-markup": "markdown", | ||
@@ -103,3 +103,3 @@ "contributions": { | ||
"name": "value", | ||
"description": "The value of the field. When wrapping several inputs, it will contain `\\t`\n(Tab character) as a delimiter indicating parts intended to be used as the\ncorresponding inputs values.\nUse the [`formatValue`](https://cdn.vaadin.com/vaadin-web-components/24.4.10/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.4.10/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.", | ||
"description": "The value of the field. When wrapping several inputs, it will contain `\\t`\n(Tab character) as a delimiter indicating parts intended to be used as the\ncorresponding inputs values.\nUse the [`formatValue`](https://cdn.vaadin.com/vaadin-web-components/24.4.11/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.4.11/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.", | ||
"value": { | ||
@@ -217,3 +217,3 @@ "type": [ | ||
"name": "value", | ||
"description": "The value of the field. When wrapping several inputs, it will contain `\\t`\n(Tab character) as a delimiter indicating parts intended to be used as the\ncorresponding inputs values.\nUse the [`formatValue`](https://cdn.vaadin.com/vaadin-web-components/24.4.10/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.4.10/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.", | ||
"description": "The value of the field. When wrapping several inputs, it will contain `\\t`\n(Tab character) as a delimiter indicating parts intended to be used as the\ncorresponding inputs values.\nUse the [`formatValue`](https://cdn.vaadin.com/vaadin-web-components/24.4.11/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.4.11/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.", | ||
"value": { | ||
@@ -220,0 +220,0 @@ "type": [ |
{ | ||
"$schema": "https://json.schemastore.org/web-types", | ||
"name": "@vaadin/custom-field", | ||
"version": "24.4.10", | ||
"version": "24.4.11", | ||
"description-markup": "markdown", | ||
@@ -80,3 +80,3 @@ "framework": "lit", | ||
"name": ".value", | ||
"description": "The value of the field. When wrapping several inputs, it will contain `\\t`\n(Tab character) as a delimiter indicating parts intended to be used as the\ncorresponding inputs values.\nUse the [`formatValue`](https://cdn.vaadin.com/vaadin-web-components/24.4.10/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.4.10/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.", | ||
"description": "The value of the field. When wrapping several inputs, it will contain `\\t`\n(Tab character) as a delimiter indicating parts intended to be used as the\ncorresponding inputs values.\nUse the [`formatValue`](https://cdn.vaadin.com/vaadin-web-components/24.4.11/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.4.11/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.", | ||
"value": { | ||
@@ -83,0 +83,0 @@ "kind": "expression" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60711
1165