@klippa/ngx-enhancy-forms 20.0.3 → 20.0.4
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.
|
@@ -403,10 +403,7 @@ class FormComponent {
|
|
|
403
403
|
return current;
|
|
404
404
|
}
|
|
405
405
|
unregisterControl(formControl, formElement) {
|
|
406
|
-
console.log('this.activeControls before', this.activeControls.length);
|
|
407
|
-
console.log(this.activeControls);
|
|
408
406
|
this.activeControls = this.activeControls.filter((e) => e.formControl !== formControl || e.formElement !== formElement);
|
|
409
|
-
console.log('this.activeControls after', this.activeControls.length);
|
|
410
407
|
if (this.parent) {
|
|
411
408
|
this.parent.unregisterControl(formControl, formElement);
|
|
412
409
|
}
|