Cannot get function to be called with wire:click in Volt
Hi, I'm trying to implement the bundled model component that comes with Livewire Breeze using the functional Volt and Blade API. I can't seem to figure out why my wire:click="toggleModal" call won't actually run. It just doesn't call the function. I've tried it with logging statements.
I'm using VS Code so I don't get much intellisense in Volt Blade files, and I can't seem to find any answers googling or asking AI in the past hour. Any help would be greatly appreciated.
And what does your browser console says? So just open the browser's developer tools by inspecting the page and open the Console tab, there are probably some errors there.
No errors. I think the issue is because my button and modal are in two different slots of the layout component, and despite trying with alpine or blade, it won't work. I tried to get @teleport working correctly too, but there I failed as well.