@klippa/ngx-enhancy-forms 14.22.16 → 14.22.17
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.
|
@@ -188,9 +188,9 @@ class FormComponent {
|
|
|
188
188
|
}
|
|
189
189
|
const valueBeforeInject = injectInto.at(injectAt)?.value;
|
|
190
190
|
if (isValueSet(valueBeforeInject)) {
|
|
191
|
-
this.formGroup.patchValue(valueBeforeInject
|
|
191
|
+
this.formGroup.patchValue(valueBeforeInject);
|
|
192
192
|
}
|
|
193
|
-
injectInto.setControl(injectAt, this.formGroup
|
|
193
|
+
injectInto.setControl(injectAt, this.formGroup);
|
|
194
194
|
this.onInjected.emit(valueBeforeInject);
|
|
195
195
|
}
|
|
196
196
|
else if (injectInto instanceof UntypedFormGroup) {
|
|
@@ -202,9 +202,9 @@ class FormComponent {
|
|
|
202
202
|
}
|
|
203
203
|
const valueBeforeInject = injectInto.get(injectAt)?.value;
|
|
204
204
|
if (isValueSet(valueBeforeInject)) {
|
|
205
|
-
this.formGroup.patchValue(valueBeforeInject
|
|
205
|
+
this.formGroup.patchValue(valueBeforeInject);
|
|
206
206
|
}
|
|
207
|
-
injectInto.setControl(injectAt, this.formGroup
|
|
207
|
+
injectInto.setControl(injectAt, this.formGroup);
|
|
208
208
|
this.onInjected.emit(valueBeforeInject);
|
|
209
209
|
}
|
|
210
210
|
}
|