Vue-select: Add ability to append new items if they don't exist

Created on 29 May 2016  路  1Comment  路  Source: sagalbot/vue-select

This is something pretty common with tag editors - letting new items be added if it doesn't exist. On that note, it'd be nice to have the option to not show the dropdown until you start typing something, so only relevant results show right away, as opposed to all results.

Most helpful comment

Hi @syropian,

I just added the feature your describing in the latest release. To see it in action, go to http://sagalbot.github.io/vue-select/ and type a country that doesn't exist.

I'll be updating the docs asap to show how to use the feature, but the simplest way is to add the taggable prop:

<v-select taggable></v-select>

I'll play around with the ux of hiding the dropdown and let you know. Thanks!

>All comments

Hi @syropian,

I just added the feature your describing in the latest release. To see it in action, go to http://sagalbot.github.io/vue-select/ and type a country that doesn't exist.

I'll be updating the docs asap to show how to use the feature, but the simplest way is to add the taggable prop:

<v-select taggable></v-select>

I'll play around with the ux of hiding the dropdown and let you know. Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

threeaccents picture threeaccents  路  3Comments

FrancescoMussi picture FrancescoMussi  路  3Comments

gilles6 picture gilles6  路  3Comments

theseawolves picture theseawolves  路  4Comments

NexoraSolutions picture NexoraSolutions  路  3Comments