0👍
You indicated one-way binding :value="column"
which means only to show a value and not to save its changes back to column
.
Try to use the v-model
directive:
<q-input square outlined :label="key" v-model="tableColumns[index]" />
P.S. and use index
as a key only if your array is not modified in terms of its length (i.e. adding/removing items). Otherwise, it’s better to use objects isread of strings with unique identifier field values among other fields.
- [Vuejs]-Inline event handler in Vue.Js with dots in the name
- [Vuejs]-How can i set type curve of edges in Sigma.js v2.1.3
Source:stackexchange.com