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
Source:stackexchange.com