@elite.framework/ng.core 1.0.45 → 1.0.46
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.
|
@@ -4767,7 +4767,7 @@ class RepeatTypeComponent extends FieldArrayType {
|
|
|
4767
4767
|
ngOnInit() {
|
|
4768
4768
|
// Subscribe to each FormArray changes
|
|
4769
4769
|
// if (this.formControl instanceof FormArray) {
|
|
4770
|
-
this.formControl.valueChanges.subscribe(() => {
|
|
4770
|
+
this.field.formControl.valueChanges.subscribe(() => {
|
|
4771
4771
|
// Force Angular to detect changes
|
|
4772
4772
|
this.field.fieldGroup = [...this.field.fieldGroup ?? []];
|
|
4773
4773
|
this.cdr.detectChanges();
|