From eb7ab7229aa28c3d0895ce04960fbcac6d2ec32c Mon Sep 17 00:00:00 2001
From: Thomas Citharel <tcit@tcit.fr>
Date: Fri, 18 Oct 2019 11:29:40 +0200
Subject: [PATCH] Limite size and number of tags in input

Closes #239

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
---
 js/src/components/Event/TagInput.vue | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/js/src/components/Event/TagInput.vue b/js/src/components/Event/TagInput.vue
index bf63f2272..076ac3066 100644
--- a/js/src/components/Event/TagInput.vue
+++ b/js/src/components/Event/TagInput.vue
@@ -39,6 +39,8 @@ export default {
                 :allow-new="true"
                 :field="path"
                 icon="label"
+                maxlength="20"
+                maxtags="10"
                 :placeholder="$t('Eg: Stockholm, Dance, Chess…')"
                 @typing="getFilteredTags"
         >