From 0b022a7c08472e751603377f532b6f14e7999b12 Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Thu, 16 May 2024 16:29:21 -0300 Subject: [PATCH] Fetches facets on taginput filter after clicking on them. --- .../filter-types/taginput/TainacanFilterTaginput.vue | 9 ++++++--- .../filter-types/taxonomy/TainacanFilterTaginput.vue | 10 +++++++--- src/views/admin/js/filter-types-mixin.js | 4 ++-- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/src/views/admin/components/filter-types/taginput/TainacanFilterTaginput.vue b/src/views/admin/components/filter-types/taginput/TainacanFilterTaginput.vue index 6bec55345..3893d9605 100644 --- a/src/views/admin/components/filter-types/taginput/TainacanFilterTaginput.vue +++ b/src/views/admin/components/filter-types/taginput/TainacanFilterTaginput.vue @@ -5,6 +5,7 @@ size="is-small" :data="options" autocomplete + :open-on-focus="true" expanded :loading="isLoadingOptions" :remove-on-keys="[]" @@ -16,6 +17,7 @@ check-infinite-scroll @update:model-value="($event) => { resetPage(); onSelect($event) }" @typing="search" + @focus="($event) => { searchQuery = $event.target.value; performSearch(searchQuery) }" @infinite-scroll="searchMore">