Here is the example of v-autocomplete Here
How can i assign the object of the each item to model of the autocomplete?
You have to use return-object
props of v-autocomplete
Like that :
<v-autocomplete
v-model="friends"
:disabled="isUpdating"
:items="people"
box
chips
color="blue-grey lighten-2"
label="Select"
item-text="name"
return-object
multiple>
CodePen
Vuetify Doc about v-autocomplete
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With