@magic-xpa/angular 4.900.0-dev490.56 → 4.900.0-dev490.62

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.
@@ -3269,10 +3269,7 @@ class MgformatMagicDirective {
3269
3269
  }
3270
3270
  else {
3271
3271
  if (attr == StorageAttribute.ALPHA || attr == StorageAttribute.UNICODE) {
3272
- if (control.validator == null)
3273
- control.setValidators(Validators.maxLength(pic.getMaskLength()));
3274
- else
3275
- control.setValidators([control.validator, Validators.maxLength(pic.getMaskLength())]);
3272
+ control.setValidators(Validators.maxLength(pic.getMaskLength()));
3276
3273
  }
3277
3274
  }
3278
3275
  }