@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.
@@ -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) || this.defaultErrorMsgTypeMismatch
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;