Vue-multiselect: Undocumented showNoOptions prop and noOptions slot

Created on 1 Nov 2018  路  2Comments  路  Source: shentao/vue-multiselect

Hi,

I was looking for info on how to change the "List is empty." text (or remove it) and had to go searching through the source to find it. Not a big deal but I feel like it should be documented under the props/slots list. Right now it isn't.

The prop is showNoOptions (boolean) and the slot name is noOptions.

good first issue

Most helpful comment

I need this also

I had this problem and looking through the repository I found how to solve it:

<template slot="noOptions">Custom text</template>

Also the prop :showNoOptions="false" solve it too.

All 2 comments

I need this also

I need this also

I had this problem and looking through the repository I found how to solve it:

<template slot="noOptions">Custom text</template>

Also the prop :showNoOptions="false" solve it too.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hskrishna29 picture hskrishna29  路  3Comments

bushcode picture bushcode  路  3Comments

dmitov picture dmitov  路  4Comments

alexhyriavets picture alexhyriavets  路  3Comments

yaakovp picture yaakovp  路  3Comments