From 464853031832d39eb42807436b4b714798fcb729 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 17 Oct 2016 21:14:13 +0200 Subject: Client: fix form upload validation on key enter --- client/src/app/videos/video-add/video-add.component.html | 7 ++++--- client/src/app/videos/video-add/video-add.component.ts | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'client/src/app/videos/video-add') diff --git a/client/src/app/videos/video-add/video-add.component.html b/client/src/app/videos/video-add/video-add.component.html index 64320cae7..14c7a0136 100644 --- a/client/src/app/videos/video-add/video-add.component.html +++ b/client/src/app/videos/video-add/video-add.component.html @@ -2,7 +2,7 @@
{{ error }}
-
+
diff --git a/client/src/app/videos/video-add/video-add.component.ts b/client/src/app/videos/video-add/video-add.component.ts index 0a8b8293b..b7bf1534f 100644 --- a/client/src/app/videos/video-add/video-add.component.ts +++ b/client/src/app/videos/video-add/video-add.component.ts @@ -130,6 +130,7 @@ export class VideoAddComponent extends FormReactive implements OnInit { removeTag(tag: string) { this.tags.splice(this.tags.indexOf(tag), 1); + this.form.get('currentTag').enable(); } upload() { -- cgit v1.2.3