diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-10-07 14:52:18 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-10-07 14:52:18 +0200 |
commit | 1a00504203d16a0d29cc1650bd3f58ecab128ec3 (patch) | |
tree | 6ef039517c227d877891b8a17d8515ac43be910a /client/src/app/shared | |
parent | bf94b6f0a1ac2cd5304f5cc7f85434120489cab8 (diff) | |
download | PeerTube-1a00504203d16a0d29cc1650bd3f58ecab128ec3.tar.gz PeerTube-1a00504203d16a0d29cc1650bd3f58ecab128ec3.tar.zst PeerTube-1a00504203d16a0d29cc1650bd3f58ecab128ec3.zip |
Client: fix progress bar and tags validation issues
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/forms/form-validators/video.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/forms/form-validators/video.ts b/client/src/app/shared/forms/form-validators/video.ts index 3766d4018..b2e612c62 100644 --- a/client/src/app/shared/forms/form-validators/video.ts +++ b/client/src/app/shared/forms/form-validators/video.ts | |||
@@ -18,7 +18,7 @@ export const VIDEO_DESCRIPTION = { | |||
18 | }; | 18 | }; |
19 | 19 | ||
20 | export const VIDEO_TAGS = { | 20 | export const VIDEO_TAGS = { |
21 | VALIDATORS: [ Validators.pattern('^[a-zA-Z0-9]{2,10}$') ], | 21 | VALIDATORS: [ Validators.pattern('^[a-zA-Z0-9]{0,10}$') ], |
22 | MESSAGES: { | 22 | MESSAGES: { |
23 | 'pattern': 'A tag should be between 2 and 10 alphanumeric characters long.' | 23 | 'pattern': 'A tag should be between 2 and 10 alphanumeric characters long.' |
24 | } | 24 | } |