Skip to content

Commit

Permalink
Fix check to display Autocomplete (buefy#3963)
Browse files Browse the repository at this point in the history
- Fixes the issue that no dropdown showed up if the data array was empty
  and only the footer slot was registered.
  Display Autocomplete list if footer slot is registered
  • Loading branch information
GMartigny committed Jan 11, 2024
1 parent a18d039 commit ec2dfe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/autocomplete/Autocomplete.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
class="dropdown-menu"
:class="{ 'is-opened-top': isOpenedTop && !appendToBody }"
:style="style"
v-show="isActive && (!isEmpty || hasEmptySlot || hasHeaderSlot)"
v-show="isActive && (!isEmpty || hasEmptySlot || hasHeaderSlot || hasFooterSlot)"
ref="dropdown"
>
<div
Expand Down

0 comments on commit ec2dfe9

Please sign in to comment.