aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/forms/form-validators/video.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/forms/form-validators/video.ts')
-rw-r--r--client/src/app/shared/forms/form-validators/video.ts7
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 32b1f1c2e..213ab15db 100644
--- a/client/src/app/shared/forms/form-validators/video.ts
+++ b/client/src/app/shared/forms/form-validators/video.ts
@@ -28,6 +28,13 @@ export const VIDEO_LANGUAGE = {
28 MESSAGES: {} 28 MESSAGES: {}
29} 29}
30 30
31export const VIDEO_CHANNEL = {
32 VALIDATORS: [ Validators.required ],
33 MESSAGES: {
34 'required': 'Video channel is required.'
35 }
36}
37
31export const VIDEO_DESCRIPTION = { 38export const VIDEO_DESCRIPTION = {
32 VALIDATORS: [ Validators.required, Validators.minLength(3), Validators.maxLength(250) ], 39 VALIDATORS: [ Validators.required, Validators.minLength(3), Validators.maxLength(250) ],
33 MESSAGES: { 40 MESSAGES: {