Vue-select: :value.sync doesnt work

Created on 11 Oct 2017  路  4Comments  路  Source: sagalbot/vue-select

pls fix the docs.

All 4 comments

Hello it is working for you?
I am looking for how to set value selected in edit form.

use v-model="selected" just like README said.

It's worth noting that using v-model="selected" will not work properly if you want multiple selection and have set the initial value of selected to null in your data function. The default needs to be [] instead.

Docs have been updated.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jluterek picture jluterek  路  3Comments

twz915 picture twz915  路  3Comments

manjunath-coachthem picture manjunath-coachthem  路  3Comments

rudykaze picture rudykaze  路  3Comments

fabianmieller picture fabianmieller  路  3Comments