What seems to be the problem:
When I change the location of a button inside the same file, but inside a header x-slot area, the click event of the button stops working, wich is open a modal to create a record on the database.
If I move it outside the header area, the button works as expected.
Steps to Reproduce:
Are you using the latest version of Livewire:
“livewire/livewire”: “^2.0”
Do you have any screenshots or code examples:
In this location of a blade file, it dont work:
But if I move down, outside the x-slot header, it works but its not the position I want to the button:
Tryed to put inside divs at the beginning of file, around the button, but nothing seems to work.
Does anyone have any idea whats going on here?
Thanks in advance