Powiadomienia
Wyczyść wszystko
BugOverflow
1
Wpisy
1
Użytkownicy
0
Reactions
742
Widoki
0
05/12/2022 10:35 pm
Rozpoczynający temat
error: v-model cannot be used on v-for or v-slot scope variables because they are not writable.
1 odpowiedź
0
05/12/2022 10:35 pm
Rozpoczynający temat
<Vue3EasyDataTable
v-else
:headers="headers"
:items="companiesTable"
>
<template #item-www="{ www }">
<a :href="www">{{ www }}</a>
</template>
<template #item-industries="{ industries,id }">
<v-select
:options="this.industries"
v-model="companiesTable.find((x=>x.id === id)).industries"
label="name"
multiple
>
</v-select>
</template>
</Vue3EasyDataTable>
