refs #798 Add validation for commandGroup field in CreateTaskComponent
parent
664091136d
commit
002c24bdd5
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue