0👍
Use :value=ob.numero.$model
and not a v-model
and then add an @change
handler:
@change="updateNumero(index, $model)"
and then create that function:
methods: {
updateNumero(index, model) {
$v.especifications.$each.$iter[index].numero[model] = parseInt(index) +1
}
}
I won’t guarantee that this is reactive, but it’ll work.
- [Vuejs]-Error: render function or template not defined in component: anonymous
- [Vuejs]-I want to called id into sibling component in the axios get method and display the output data in vue client table
Source:stackexchange.com