diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-30 20:26:06 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-30 20:26:06 +0100 |
commit | 2de96f4d6b800076743ed2073f9529816cfd5c8a (patch) | |
tree | 8c2dbd29fe5560e0b24edaa58038581bddd49778 /client/src/app/shared | |
parent | 8bf89b095a711d5ac5e6ef55575b166257d0d526 (diff) | |
download | PeerTube-2de96f4d6b800076743ed2073f9529816cfd5c8a.tar.gz PeerTube-2de96f4d6b800076743ed2073f9529816cfd5c8a.tar.zst PeerTube-2de96f4d6b800076743ed2073f9529816cfd5c8a.zip |
Lazy description and previews to video form
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/forms/form-validators/video.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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 = { | |||
36 | } | 36 | } |
37 | 37 | ||
38 | export const VIDEO_DESCRIPTION = { | 38 | export const VIDEO_DESCRIPTION = { |
39 | VALIDATORS: [ Validators.required, Validators.minLength(3), Validators.maxLength(250) ], | 39 | VALIDATORS: [ Validators.required, Validators.minLength(3), Validators.maxLength(3000) ], |
40 | MESSAGES: { | 40 | MESSAGES: { |
41 | 'required': 'Video description is required.', | 41 | 'required': 'Video description is required.', |
42 | 'minlength': 'Video description must be at least 3 characters long.', | 42 | 'minlength': 'Video description must be at least 3 characters long.', |
43 | 'maxlength': 'Video description cannot be more than 250 characters long.' | 43 | 'maxlength': 'Video description cannot be more than 3000 characters long.' |
44 | } | 44 | } |
45 | } | 45 | } |
46 | 46 | ||