i have a big problem on the vuejs and vuetify.
The problem is on the radio button.
I want to show the value of the radio button in the interfaces and i can change the value after , but it’s not working.
The value on the database is on : item.etat ,
And the value of v-model is on :
item.selectedValue
Here is my code :
<template v-slot:item.radio="{ item }">
<p>Selected Button: {{item.selectedValue = item.etat }}</p>
<v-radio-group v-model="item.selectedValue" class="mr-3" inline>
<v-radio label="Non Atteint" :value=1></v-radio>
<v-radio label="P. Atteint" :value=2></v-radio>
<v-radio label="Atteint" :value=3></v-radio>
</v-radio-group>
</template>