5👍
✅
You can try sometime like that :
:item-text="item => `${item.name} - ${item.id} - ${item.value}`"
- [Vuejs]-Iterate through nested arrays of objects with an undetermined number of children node levels
- [Vuejs]-Iterate through nested arrays of objects with an undetermined number of children node levels
0👍
use slots like this:
<v-autocomplete
v-model="friends"
:disabled="isUpdating"
:items="people"
label="Select"
item-value="name"
>
<template v-slot:item="{ item }">
{{item.name}}-{{item.id}}-{{item.value}}
</template>
</v-autocomplete>
- [Vuejs]-Iterate through nested arrays of objects with an undetermined number of children node levels
Source:stackexchange.com