Open jackmatt2 opened 9 years ago
@jackmatt2 have you managed?
Thanks
@asaf not yet.
I'm trying to figure out more or less the same thing. If I have a list of items using {{#each foo in model}} how to set foo so the template renders with foo's data? And why do we need to create a separate modal for each foo? This component doesn't appear to be very DRY.
I have a table with a delete button on each row, basically when the user presses the delete button a model should show asking them to confirm. The model to delete is based on the row they select
row
. I can't seem to get this working with the modal component as these is no example of a actions being performed before opening the modal (I need to set the row as the deleteTarget on the controller). I can get it to a point where I cam able to open the modal for the selected record but there is no way of closing it. Is there any workaround for this?