@descope/web-components-ui 1.0.355 → 1.0.357
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/4978.js +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/phone-fields-descope-phone-field-descope-phone-field-internal-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-field-index-js.js +1 -1
- package/package.json +1 -1
- package/src/components/phone-fields/descope-phone-field/descope-phone-field-internal/PhoneFieldInternal.js +1 -1
- package/src/mixins/inputValidationMixin.js +1 -1
package/dist/index.esm.js
CHANGED
@@ -853,7 +853,7 @@ const inputValidationMixin = (superclass) =>
|
|
853
853
|
return (
|
854
854
|
this.getAttribute(errorAttributes.valueMissing) || this.defaultErrorMsgValueMissing
|
855
855
|
);
|
856
|
-
case patternMismatch ||
|
856
|
+
case patternMismatch || stepMismatch || badInput:
|
857
857
|
return (
|
858
858
|
this.getAttribute(errorAttributes.patternMismatch) ||
|
859
859
|
this.defaultErrorMsgPatternMismatch
|
@@ -5763,7 +5763,7 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$6 {
|
|
5763
5763
|
this.inputs = [this.countryCodeInput, this.phoneNumberInput];
|
5764
5764
|
|
5765
5765
|
forwardAttrs(this, this.countryCodeInput, { includeAttrs: ['label-type'] });
|
5766
|
-
forwardAttrs(this, this.phoneNumberInput, { includeAttrs: ['label-type'] });
|
5766
|
+
forwardAttrs(this, this.phoneNumberInput, { includeAttrs: ['label-type', 'required'] });
|
5767
5767
|
|
5768
5768
|
// override combo box setter to display dialCode value in input
|
5769
5769
|
this.countryCodeInput.customValueTransformFn = (val) => {
|