diff options
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/shared/forms/form-validators/video-comment.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/forms/form-validators/video-comment.ts b/client/src/app/shared/forms/form-validators/video-comment.ts index 42a97e300..290d83195 100644 --- a/client/src/app/shared/forms/form-validators/video-comment.ts +++ b/client/src/app/shared/forms/form-validators/video-comment.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | import { Validators } from '@angular/forms' | 1 | import { Validators } from '@angular/forms' |
2 | 2 | ||
3 | export const VIDEO_COMMENT_TEXT = { | 3 | export const VIDEO_COMMENT_TEXT = { |
4 | VALIDATORS: [ Validators.required, Validators.minLength(2), Validators.maxLength(3000) ], | 4 | VALIDATORS: [ Validators.required, Validators.minLength(1), Validators.maxLength(3000) ], |
5 | MESSAGES: { | 5 | MESSAGES: { |
6 | 'required': 'Comment is required.', | 6 | 'required': 'Comment is required.', |
7 | 'minlength': 'Comment must be at least 2 characters long.', | 7 | 'minlength': 'Comment must be at least 2 characters long.', |