[Vuejs]-Vue and TypeScript not reactive for string array values

1👍

Try this:

<input type="text" name="name" :id="'name_' + index" required v-model="data.fieldNames[index]"/>

Maybe the problem is that v-for is not passing the reference because it’s a primitive type.

Leave a comment