[Vuejs]-Why checkbox automatically checked the next checkbox when checked

0👍

Add a key to v-for elements. If there is a unique id you can use that, but since I don’t see it in the current data, I have used description as an example

<li v-for="task in incompleteTasks" :key="task.description">
<li v-for="task in completeTasks" :key="task.description">

Leave a comment