I’ve noticed this several times in my project. setting the action toggle of a button to modal and selecting the modal, nothing happens until i edit the code directly and change dmx-on:click="" to dmx-on:click=“modal.show()”.
Appears to be a bug of some sort. I can’t create a button that the modal toggle will work, until i add the code directly.
Using bootstrap 4. I’ve also tried with bootstrap 5, same result and seems related to this:
I believe you need to be using an anchor button, not just a regular button. An anchor button will give you a setting in the properties panel to add a modal.
it’s local to my machine, I’ll test on a new page and see if it works.
All i did was create a button. Change the text of the button to what i wanted it to say by double clicking and typing. Then, under button properties changed action toggle to modal and modal set to the modal i wanted to open.