aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared')
-rw-r--r--client/src/app/shared/forms/form-validators/video.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/shared/forms/form-validators/video.ts b/client/src/app/shared/forms/form-validators/video.ts
index 213ab15db..286a11179 100644
--- a/client/src/app/shared/forms/form-validators/video.ts
+++ b/client/src/app/shared/forms/form-validators/video.ts
@@ -1,11 +1,11 @@
1import { Validators } from '@angular/forms' 1import { Validators } from '@angular/forms'
2 2
3export const VIDEO_NAME = { 3export const VIDEO_NAME = {
4 VALIDATORS: [ Validators.required, Validators.minLength(3), Validators.maxLength(50) ], 4 VALIDATORS: [ Validators.required, Validators.minLength(3), Validators.maxLength(120) ],
5 MESSAGES: { 5 MESSAGES: {
6 'required': 'Video name is required.', 6 'required': 'Video name is required.',
7 'minlength': 'Video name must be at least 3 characters long.', 7 'minlength': 'Video name must be at least 3 characters long.',
8 'maxlength': 'Video name cannot be more than 50 characters long.' 8 'maxlength': 'Video name cannot be more than 120 characters long.'
9 } 9 }
10} 10}
11 11
@@ -45,10 +45,10 @@ export const VIDEO_DESCRIPTION = {
45} 45}
46 46
47export const VIDEO_TAGS = { 47export const VIDEO_TAGS = {
48 VALIDATORS: [ Validators.minLength(2), Validators.maxLength(10) ], 48 VALIDATORS: [ Validators.minLength(2), Validators.maxLength(30) ],
49 MESSAGES: { 49 MESSAGES: {
50 'minlength': 'A tag should be more than 2 characters long.', 50 'minlength': 'A tag should be more than 2 characters long.',
51 'maxlength': 'A tag should be less than 10 characters long.' 51 'maxlength': 'A tag should be less than 30 characters long.'
52 } 52 }
53} 53}
54 54