@descope/web-components-ui 1.0.360 → 1.0.362

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.esm.js CHANGED
@@ -2634,9 +2634,8 @@ const customMixin$a = (superclass) =>
2634
2634
  init() {
2635
2635
  super.init?.();
2636
2636
 
2637
- if (!this.getAttribute('pattern')) {
2638
- this.setAttribute('pattern', defaultPattern);
2639
- }
2637
+ // we need to set the pattern on the base element because vaadin-email-field is overriding it
2638
+ this.baseElement.setAttribute('pattern', defaultPattern);
2640
2639
 
2641
2640
  if (!this.getAttribute('autocomplete')) {
2642
2641
  this.setAttribute('autocomplete', defaultAutocomplete);