diff options
Diffstat (limited to 'client/src/app/shared/forms/form-validators/video.ts')
-rw-r--r-- | client/src/app/shared/forms/form-validators/video.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/client/src/app/shared/forms/form-validators/video.ts b/client/src/app/shared/forms/form-validators/video.ts index 6542cf8f6..32b1f1c2e 100644 --- a/client/src/app/shared/forms/form-validators/video.ts +++ b/client/src/app/shared/forms/form-validators/video.ts | |||
@@ -44,3 +44,10 @@ export const VIDEO_TAGS = { | |||
44 | 'maxlength': 'A tag should be less than 10 characters long.' | 44 | 'maxlength': 'A tag should be less than 10 characters long.' |
45 | } | 45 | } |
46 | } | 46 | } |
47 | |||
48 | export const VIDEO_FILE = { | ||
49 | VALIDATORS: [ Validators.required ], | ||
50 | MESSAGES: { | ||
51 | 'required': 'Video file is required.' | ||
52 | } | ||
53 | } | ||