@esfaenza/forms-and-validations 15.2.11 → 15.2.13

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.
@@ -1902,7 +1902,8 @@ class BaseFormControl {
1902
1902
  v._createValidator();
1903
1903
  });
1904
1904
  }
1905
- this.ngControl.control.addValidators(this._validators.filter(v => !v.ngOnInit));
1905
+ if (this._validators)
1906
+ this.ngControl.control.addValidators(this._validators.filter(v => !v.ngOnInit));
1906
1907
  this.ngControl.control.updateValueAndValidity();
1907
1908
  }
1908
1909
  }