diff --git a/matsen-tool/src/app/_helpers/formgroup.initializer.ts b/matsen-tool/src/app/_helpers/formgroup.initializer.ts index b308ee1..58ac23c 100644 --- a/matsen-tool/src/app/_helpers/formgroup.initializer.ts +++ b/matsen-tool/src/app/_helpers/formgroup.initializer.ts @@ -2,6 +2,7 @@ import {FormGroup} from "@angular/forms"; export class FormGroupInitializer { public static initFormGroup(formGroup: FormGroup, model: any) { + console.log(model); for (const controlName in formGroup.controls) { if (formGroup.controls.hasOwnProperty(controlName)) { formGroup.patchValue({[controlName]: model[controlName] ?? null}); diff --git a/matsen-tool/src/app/app.component.html b/matsen-tool/src/app/app.component.html index c99c58b..3f630eb 100644 --- a/matsen-tool/src/app/app.component.html +++ b/matsen-tool/src/app/app.component.html @@ -1,5 +1,5 @@  -