From 002c24bdd593ab7547061dec4915fc7921cee3fc Mon Sep 17 00:00:00 2001 From: apuente Date: Fri, 4 Oct 2024 14:11:51 +0200 Subject: [PATCH] refs #798 Add validation for commandGroup field in CreateTaskComponent --- .../commands/commands-task/create-task/create-task.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ogWebconsole/src/app/components/commands/commands-task/create-task/create-task.component.ts b/ogWebconsole/src/app/components/commands/commands-task/create-task/create-task.component.ts index 9fb5bcf..d4b0307 100644 --- a/ogWebconsole/src/app/components/commands/commands-task/create-task/create-task.component.ts +++ b/ogWebconsole/src/app/components/commands/commands-task/create-task/create-task.component.ts @@ -29,7 +29,7 @@ export class CreateTaskComponent implements OnInit { @Inject(MAT_DIALOG_DATA) public data: any ) { this.taskForm = this.fb.group({ - commandGroup: [''], + commandGroup: ['', Validators.required], extraCommands: [[]], date: ['', Validators.required], time: ['', Validators.required],