From: Chocobozzz Date: Mon, 17 Oct 2016 19:14:13 +0000 (+0200) Subject: Client: fix form upload validation on key enter X-Git-Tag: v0.0.1-alpha~677 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=464853031832d39eb42807436b4b714798fcb729;hp=25cad919924faebda48f8741d3e6e0c3e23c6182;p=github%2FChocobozzz%2FPeerTube.git Client: fix form upload validation on key enter --- 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() {