@esfaenza/forms-and-validations 11.2.47-beta2 → 11.2.47-beta3

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.
@@ -1981,7 +1981,7 @@
1981
1981
  * un altro con lo stesso "name" ma magari resettato, Angular lo re-idraterebbe con i valori precedenti nonostante il modello fosse vuoto
1982
1982
  */
1983
1983
  BaseFormControl.prototype.ngOnDestroy = function () {
1984
- if (this.detatchedFromform)
1984
+ if (this.detatchedFromform && this.Form)
1985
1985
  this.Form.removeControl(this.validationControl);
1986
1986
  };
1987
1987
  /**