@esfaenza/forms-and-validations 11.2.153 → 11.2.154

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.
@@ -2795,7 +2795,8 @@
2795
2795
  this.Pattern = this.nvl((_j = this.Options) === null || _j === void 0 ? void 0 : _j.Pattern, this.Pattern);
2796
2796
  }
2797
2797
  if (this.ngControl) {
2798
- var validators = this._validators || [];
2798
+ // Esclusi i validatori a componenti
2799
+ var validators = this.utiExts.deepClone(this._validators || []).filter(function (v) { return !v.ngOnInit; });
2799
2800
  var pv = new forms.PatternValidator();
2800
2801
  switch (this.Type) {
2801
2802
  case 'int':