Vue multiselect "List is empty" message

Hi, I’m using Vue multiselect and can’t remove “List is empty message”. I don’t need it. I tried :show-no-results=“false” and and it didn’t helped. Can someone help me?

Looking at the docs, it looks like there is a noResult slot, where you can define the content of an empty dropdown.

<multiselect>
    <template v-slot:no-result>
        Oops! No list items.
    </template>
</multiselect>

Otherwise I don’t see the show-no-results prop you are trying to use

1 Like

This is documented here: Vue-Multiselect | Vue Select Library

<span slot="noOptions">
    This will be displayed when list is not loaded yet
 </span>
 <span slot="noResult">
    This will be displayed when filtered list is empty
 </span>