diff options
Diffstat (limited to 'client/src/app/videos')
3 files changed, 3 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-edit/video-add.component.html b/client/src/app/videos/+video-edit/video-add.component.html index 7946c0879..136c82a7c 100644 --- a/client/src/app/videos/+video-edit/video-add.component.html +++ b/client/src/app/videos/+video-edit/video-add.component.html | |||
@@ -77,7 +77,7 @@ | |||
77 | <label class="label-tags">Tags</label> <span class="little-information">(press enter to add the tag)</span> | 77 | <label class="label-tags">Tags</label> <span class="little-information">(press enter to add the tag)</span> |
78 | <tag-input | 78 | <tag-input |
79 | [ngModel]="tags" [validators]="tagValidators" [errorMessages]="tagValidatorsMessages" | 79 | [ngModel]="tags" [validators]="tagValidators" [errorMessages]="tagValidatorsMessages" |
80 | formControlName="tags" maxItems="3" modelAsStrings="true" | 80 | formControlName="tags" maxItems="5" modelAsStrings="true" |
81 | ></tag-input> | 81 | ></tag-input> |
82 | </div> | 82 | </div> |
83 | 83 | ||
diff --git a/client/src/app/videos/+video-edit/video-update.component.html b/client/src/app/videos/+video-edit/video-update.component.html index 7f4faf21b..4ade5a671 100644 --- a/client/src/app/videos/+video-edit/video-update.component.html +++ b/client/src/app/videos/+video-edit/video-update.component.html | |||
@@ -65,7 +65,7 @@ | |||
65 | <label for="tags" class="label-tags">Tags</label> <span class="little-information">(press enter to add the tag)</span> | 65 | <label for="tags" class="label-tags">Tags</label> <span class="little-information">(press enter to add the tag)</span> |
66 | <tag-input | 66 | <tag-input |
67 | [ngModel]="tags" [validators]="tagValidators" [errorMessages]="tagValidatorsMessages" | 67 | [ngModel]="tags" [validators]="tagValidators" [errorMessages]="tagValidatorsMessages" |
68 | formControlName="tags" maxItems="3" modelAsStrings="true" | 68 | formControlName="tags" maxItems="5" modelAsStrings="true" |
69 | ></tag-input> | 69 | ></tag-input> |
70 | </div> | 70 | </div> |
71 | 71 | ||
diff --git a/client/src/app/videos/+video-edit/video-update.component.ts b/client/src/app/videos/+video-edit/video-update.component.ts index 30390ac05..c4ae22896 100644 --- a/client/src/app/videos/+video-edit/video-update.component.ts +++ b/client/src/app/videos/+video-edit/video-update.component.ts | |||
@@ -131,3 +131,4 @@ export class VideoUpdateComponent extends FormReactive implements OnInit { | |||
131 | this.form.patchValue(this.video.toJSON()) | 131 | this.form.patchValue(this.video.toJSON()) |
132 | } | 132 | } |
133 | } | 133 | } |
134 | |||