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