From 9c799e3dc9fd29a92687a502867c73fdc8129354 Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Thu, 28 Jan 2021 17:09:37 +0200 Subject: [PATCH] Added search to slot fill dialog --- .../ui/components/global/TextField.vue | 1 + .../ui/creature/slots/SlotFillDialog.vue | 42 +++++++++++++++++-- 2 files changed, 39 insertions(+), 4 deletions(-) diff --git a/app/imports/ui/components/global/TextField.vue b/app/imports/ui/components/global/TextField.vue index 337543e8..fcbe9fad 100644 --- a/app/imports/ui/components/global/TextField.vue +++ b/app/imports/ui/components/global/TextField.vue @@ -10,6 +10,7 @@ @input="input" @focus="focused = true" @blur="focused = false" + @keyup="e => $emit('keyup', e)" /> diff --git a/app/imports/ui/creature/slots/SlotFillDialog.vue b/app/imports/ui/creature/slots/SlotFillDialog.vue index 8820c1e0..89329cbe 100644 --- a/app/imports/ui/creature/slots/SlotFillDialog.vue +++ b/app/imports/ui/creature/slots/SlotFillDialog.vue @@ -7,8 +7,20 @@ {{ model.name }} + + -
+

Nothing suitable was found in your libraries + + matching "{{ searchValue }}" +

This slot requires a {{ slotPropertyTypeName }} -