From 28b863459bfa0ad771770f804e7cdb7a87071a4e Mon Sep 17 00:00:00 2001 From: Lisi Linhart Date: Thu, 12 Jan 2023 13:59:02 +0100 Subject: [PATCH] fix(select): show inner select even if there is a slot --- src/components/Select/components/SelectInner.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/Select/components/SelectInner.vue b/src/components/Select/components/SelectInner.vue index 9d98bdf7..877229ee 100644 --- a/src/components/Select/components/SelectInner.vue +++ b/src/components/Select/components/SelectInner.vue @@ -338,10 +338,9 @@ export default { isInnerSearchVisible() { const noTags = !this.isTagsVisible - const noSlot = !this.hasDefaultSlot const filterOrPlaceholder = - this.filterable || this.placeholderLabel?.length - return Boolean(noTags && noSlot && filterOrPlaceholder) + this.filterable || this.placeholderLabel?.length > 0 + return Boolean(noTags && filterOrPlaceholder) }, isSearchTextVisible() {