Replies: 1 comment
-
What's happening (I expect) is that you have some JS that is listening for clicks on any element that has |
Beta Was this translation helpful? Give feedback.
-
What's happening (I expect) is that you have some JS that is listening for clicks on any element that has |
Beta Was this translation helpful? Give feedback.
-
How do I use Unicorn with Modals?
I currently have this:
<button type="button" class="btn btn-primary btn-fab btn-icon btn-round" data-toggle="modal" data-target="#editModal" unicorn:click="setForm('{{ kid.id }}')"> <i class="tim-icons icon-pencil"></i> </button>
But whenever I click the button, the modal pops up and disappears immediately, while also causing the page to freeze until I refresh the page.
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions