Update slutredovisning-form-step1.component.ts

This commit is contained in:
Daniel Appelgren
2021-11-12 10:20:56 +01:00
parent 8682ca963a
commit 383fd26cae

View File

@@ -40,7 +40,7 @@ export class SlutredovisningFormStep1Component implements OnInit {
new FormGroup({
name: new FormControl(activity.name),
id: new FormControl(activity.id),
whatHasBeenDone: new FormControl('temp', RequiredValidator('Beskrivning är obligatorisk')),
whatHasBeenDone: new FormControl(null, RequiredValidator('Beskrivning är obligatorisk')),
})
);
this.changeDetectionRef.detectChanges();