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

theseawolves picture theseawolves  路  4Comments

mattWalters0 picture mattWalters0  路  3Comments

NexoraSolutions picture NexoraSolutions  路  3Comments

FrozenIce0617 picture FrozenIce0617  路  3Comments

rudykaze picture rudykaze  路  3Comments