From 0a6b472398f11fc76cd7e0f30c3e21db45b43e4c Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Thu, 20 Jun 2024 11:25:33 -0300 Subject: [PATCH] Small fixes to filter placeholder. --- .../filter-types/taginput/TainacanFilterTaginput.vue | 2 +- src/views/gutenberg-blocks/blocks/faceted-search/edit.js | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/admin/components/filter-types/taginput/TainacanFilterTaginput.vue b/src/views/admin/components/filter-types/taginput/TainacanFilterTaginput.vue index b6ac80d9b..861a903af 100644 --- a/src/views/admin/components/filter-types/taginput/TainacanFilterTaginput.vue +++ b/src/views/admin/components/filter-types/taginput/TainacanFilterTaginput.vue @@ -13,7 +13,7 @@ attached :aria-close-label="$i18n.get('remove_value')" :aria-labelledby="'filter-label-id-' + filter.id" - :placeholder="filter.placeholder ? filter.placeholder : getInputPlaceholder()" + :placeholder="filter.placeholder ? filter.placeholder : getInputPlaceholder" check-infinite-scroll @update:model-value="($event) => { resetPage(); onSelect($event) }" @typing="search" diff --git a/src/views/gutenberg-blocks/blocks/faceted-search/edit.js b/src/views/gutenberg-blocks/blocks/faceted-search/edit.js index 61c305ee1..d362c46ba 100644 --- a/src/views/gutenberg-blocks/blocks/faceted-search/edit.js +++ b/src/views/gutenberg-blocks/blocks/faceted-search/edit.js @@ -523,7 +523,8 @@ export default function({ attributes, setAttributes, isSelected, clientId }) { } /> { displayFiltersHorizontally = isChecked; @@ -532,7 +533,8 @@ export default function({ attributes, setAttributes, isSelected, clientId }) { } /> { hideFilterColllapses = isChecked;