@descope/web-components-ui 1.0.366 → 1.0.368
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/cjs/index.cjs.js +4 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +533 -525
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/4978.js +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/package.json +1 -1
- package/src/index.js +2 -0
- package/src/mixins/inputValidationMixin.js +4 -1
package/dist/cjs/index.cjs.js
CHANGED
@@ -2070,6 +2070,7 @@ const inputValidationMixin = (superclass) =>
|
|
2070
2070
|
badInput,
|
2071
2071
|
customError,
|
2072
2072
|
} = flags;
|
2073
|
+
|
2073
2074
|
switch (true) {
|
2074
2075
|
case valueMissing:
|
2075
2076
|
return (
|
@@ -2082,7 +2083,9 @@ const inputValidationMixin = (superclass) =>
|
|
2082
2083
|
);
|
2083
2084
|
case typeMismatch:
|
2084
2085
|
return (
|
2085
|
-
this.getAttribute(errorAttributes.typeMismatch) ||
|
2086
|
+
this.getAttribute(errorAttributes.typeMismatch) ||
|
2087
|
+
this.getAttribute(errorAttributes.patternMismatch) ||
|
2088
|
+
this.defaultErrorMsgTypeMismatch
|
2086
2089
|
);
|
2087
2090
|
case tooShort:
|
2088
2091
|
return this.getAttribute(errorAttributes.tooShort) || this.defaultErrorMsgTooShort;
|