From 7c2576b0cfb0a15b2a14f6f5ea96de16f0c23b44 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Tue, 24 Dec 2019 02:22:56 +0100
Subject: viewer: Plugin for Optional chaining and Coalesce. Implemented tag
operations (intersection, addition, substraction). Unified Tag.Search
---
viewer/src/components/LdTagInput.vue | 48 ++++++++++++++++++++++++++++++------
1 file changed, 40 insertions(+), 8 deletions(-)
(limited to 'viewer/src/components/LdTagInput.vue')
diff --git a/viewer/src/components/LdTagInput.vue b/viewer/src/components/LdTagInput.vue
index 4121cd7..daca62d 100644
--- a/viewer/src/components/LdTagInput.vue
+++ b/viewer/src/components/LdTagInput.vue
@@ -6,11 +6,14 @@
ellipsis
attached
:data="filteredTags"
- field="tag"
+ field="display"
type="is-black"
icon="tag"
+ size="is-medium"
class="panelTagInput"
@typing="searchTags"
+ @add="onAdd"
+ @remove="onRemove"
>
{{displayOption(props.option)}}
{{$t('tagInput.nomatch')}}
@@ -19,41 +22,70 @@