Skip to content

Commit 87b5c45

Browse files
committed
Don't use required validator in edit verb form
1 parent c3ef3ac commit 87b5c45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/src/app/menu/components/edit-verb/edit-verb.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class EditVerbComponent implements OnInit {
4646
// id is a hidden field just to manage "update" cases
4747
id: this.fb.control(null),
4848
text: this.fb.control(null, [Validators.required]),
49-
audio: new FormControl(null, [Validators.required]),
49+
audio: new FormControl(null),
5050
});
5151

5252
if (this.verb) {

0 commit comments

Comments
 (0)