From a10fc78bb0e00e98c8f59edc16cd323b9c8b0615 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 9 May 2018 13:32:44 +0200 Subject: Fix video channel description/support max length --- client/src/app/shared/forms/form-validators/video-channel.ts | 8 ++++---- client/src/app/shared/forms/form-validators/video.ts | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'client/src/app/shared') diff --git a/client/src/app/shared/forms/form-validators/video-channel.ts b/client/src/app/shared/forms/form-validators/video-channel.ts index 6233d17f7..2185cdaa9 100644 --- a/client/src/app/shared/forms/form-validators/video-channel.ts +++ b/client/src/app/shared/forms/form-validators/video-channel.ts @@ -15,20 +15,20 @@ export const VIDEO_CHANNEL_DISPLAY_NAME = { export const VIDEO_CHANNEL_DESCRIPTION = { VALIDATORS: [ Validators.minLength(3), - Validators.maxLength(250) + Validators.maxLength(500) ], MESSAGES: { 'minlength': 'Description must be at least 3 characters long.', - 'maxlength': 'Description cannot be more than 250 characters long.' + 'maxlength': 'Description cannot be more than 500 characters long.' } } export const VIDEO_CHANNEL_SUPPORT = { VALIDATORS: [ Validators.minLength(3), - Validators.maxLength(300) + Validators.maxLength(500) ], MESSAGES: { 'minlength': 'Support text must be at least 3 characters long.', - 'maxlength': 'Support text cannot be more than 300 characters long.' + 'maxlength': 'Support text cannot be more than 500 characters long.' } } diff --git a/client/src/app/shared/forms/form-validators/video.ts b/client/src/app/shared/forms/form-validators/video.ts index 9ecbbbd60..a986243df 100644 --- a/client/src/app/shared/forms/form-validators/video.ts +++ b/client/src/app/shared/forms/form-validators/video.ts @@ -60,9 +60,9 @@ export const VIDEO_TAGS = { } export const VIDEO_SUPPORT = { - VALIDATORS: [ Validators.minLength(3), Validators.maxLength(300) ], + VALIDATORS: [ Validators.minLength(3), Validators.maxLength(500) ], MESSAGES: { 'minlength': 'Video support must be at least 3 characters long.', - 'maxlength': 'Video support cannot be more than 300 characters long.' + 'maxlength': 'Video support cannot be more than 500 characters long.' } } -- cgit v1.2.3