@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.
@@ -3923,9 +3923,8 @@ const customMixin$8 = (superclass) =>
3923
3923
  init() {
3924
3924
  super.init?.();
3925
3925
 
3926
- if (!this.getAttribute('pattern')) {
3927
- this.setAttribute('pattern', defaultPattern);
3928
- }
3926
+ // we need to set the pattern on the base element because vaadin-email-field is overriding it
3927
+ this.baseElement.setAttribute('pattern', defaultPattern);
3929
3928
 
3930
3929
  if (!this.getAttribute('autocomplete')) {
3931
3930
  this.setAttribute('autocomplete', defaultAutocomplete);