[Vuejs]-How to dynamically add/remove slot fields, based on an array in Vue JS

0👍

Add a unique key value to your v-for loop element:

<div-for="(row, index) in rows" :key="JSON.stringify(row)">

This should make sure the correct element is removed from the DOM.

Leave a comment