Skip to content

Commit

Permalink
fix(select): show inner select even if there is a slot
Browse files Browse the repository at this point in the history
  • Loading branch information
Lisi Linhart committed Jan 12, 2023
1 parent b565e55 commit 28b8634
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/Select/components/SelectInner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 28b8634

Please sign in to comment.