@descope/web-components-ui 1.0.366 → 1.0.367
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/dist/index.esm.js
CHANGED
@@ -849,6 +849,7 @@ const inputValidationMixin = (superclass) =>
|
|
849
849
|
badInput,
|
850
850
|
customError,
|
851
851
|
} = flags;
|
852
|
+
|
852
853
|
switch (true) {
|
853
854
|
case valueMissing:
|
854
855
|
return (
|
@@ -861,7 +862,9 @@ const inputValidationMixin = (superclass) =>
|
|
861
862
|
);
|
862
863
|
case typeMismatch:
|
863
864
|
return (
|
864
|
-
this.getAttribute(errorAttributes.typeMismatch) ||
|
865
|
+
this.getAttribute(errorAttributes.typeMismatch) ||
|
866
|
+
this.getAttribute(errorAttributes.patternMismatch) ||
|
867
|
+
this.defaultErrorMsgTypeMismatch
|
865
868
|
);
|
866
869
|
case tooShort:
|
867
870
|
return this.getAttribute(errorAttributes.tooShort) || this.defaultErrorMsgTooShort;
|