0👍
The modal is in your v-for…
Every time you click, you open all modal (and you see only the last one)
Make something like this:
https://codesandbox.io/s/simple-todo-app-with-vue-gx097
PS: You can have rendering issue with the v-for without :key …
https://v2.vuejs.org/v2/api/?#key
- [Vuejs]-Dynamic render function in Vue instance based on authentication check
- [Vuejs]-Vuex not keeping currentUser state on page refresh
Source:stackexchange.com