Skip to content

[vue-select warn]: Label key "option.name" does not exist in options object #1320

Answered by kamerat
chrisgrim asked this question in Q&A
Discussion options

You must be logged in to vote

You can use the prop getOptionLabel

 <v-select 
        v-model="user"
        @search="asyncGenerateUserList"
        :options="users"
        :getOptionLabel="user => user.model.name"
>
</v-select>

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sagalbot
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1320 on December 18, 2020 22:05.