From 2de96f4d6b800076743ed2073f9529816cfd5c8a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 30 Oct 2017 20:26:06 +0100 Subject: Lazy description and previews to video form --- client/src/app/shared/forms/form-validators/video.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/app/shared/forms') diff --git a/client/src/app/shared/forms/form-validators/video.ts b/client/src/app/shared/forms/form-validators/video.ts index 286a11179..434773501 100644 --- a/client/src/app/shared/forms/form-validators/video.ts +++ b/client/src/app/shared/forms/form-validators/video.ts @@ -36,11 +36,11 @@ export const VIDEO_CHANNEL = { } export const VIDEO_DESCRIPTION = { - VALIDATORS: [ Validators.required, Validators.minLength(3), Validators.maxLength(250) ], + VALIDATORS: [ Validators.required, Validators.minLength(3), Validators.maxLength(3000) ], MESSAGES: { 'required': 'Video description is required.', 'minlength': 'Video description must be at least 3 characters long.', - 'maxlength': 'Video description cannot be more than 250 characters long.' + 'maxlength': 'Video description cannot be more than 3000 characters long.' } } -- cgit v1.2.3