Closed pkeogan closed 1 month ago
issue was unrelated to code above.
I had this livewire component edit.blade.php
<flux:modal wire:model="showEditModal" name="edit-user" variant="flyout" class="space-y-6">
...
</flux:modal>
and change it to:
<div>
<flux:modal wire:model="showEditModal" name="edit-user" variant="flyout" class="space-y-6">
...
</flux:modal>
</div>
which fixed the issue.
Using the demo code given on the docs, I have a
table
with amodal
inside arow
. long story short, its snippet of a user management table, with a delete button, that has a modal to confirm you want to delete.Given that TL;DR here is the code:
When the
<flux:button wire:click="deleteUser({{$user->id}})" variant="danger">Delete User</flux:button>
calls the wire:click I get the following console error:Placement of the
<flux:modal>
within<flux:row>
has effect on this error.