Commit 3948df3
authored
Add a modal id prop on the delete modal component (#359)
Needed for my WIP work at Jolicode.
```twig
{{ component('sylius_bootstrap_admin_ui:delete_modal', {
id: directory,
modal_id: 'delete-directory-modal-' ~ loop.index ,
path: path('joli_media_sylius_admin_delete_directory', {'key': directory})
}) }}
```
Here my path is a directory label, so it could contains any characters.1 file changed
Lines changed: 5 additions & 2 deletions
File tree
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| |||
0 commit comments