Fix support field validation in video edit
This commit is contained in:
parent
86ec3e53ac
commit
9f4183c9b5
|
@ -85,7 +85,7 @@ export class VideoEditComponent implements OnInit {
|
||||||
this.form.addControl('tags', new FormControl(''))
|
this.form.addControl('tags', new FormControl(''))
|
||||||
this.form.addControl('thumbnailfile', new FormControl(''))
|
this.form.addControl('thumbnailfile', new FormControl(''))
|
||||||
this.form.addControl('previewfile', new FormControl(''))
|
this.form.addControl('previewfile', new FormControl(''))
|
||||||
this.form.addControl('support', new FormControl(''))
|
this.form.addControl('support', new FormControl('', VIDEO_SUPPORT.VALIDATORS))
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit () {
|
ngOnInit () {
|
||||||
|
|
Loading…
Reference in New Issue