[Vuejs]-Bootstrap modal should display data based on the clicked button row in a vue component

0👍

I think you can try this:

  • inside your table, loop you account data and assign every account.id to your data-target
  • outside your table, loop again you account data and assign every account.id to every modal’s id attribute.
  • from there, I think each data will be reference correctly.

screenshot

enter image description here

you can see reference here

Leave a comment