© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•17mo ago•
5 replies
ruddy

Dispatch Modal doesn't work

Hello everyone,

Before I ask my question, I took some time to review previous discussions related to dispatching modals in FilamentPHP. I have a modal in my view that looks like this:

<x-filament::modal id="edit-user">
    hello
</x-filament::modal>
<x-filament::modal id="edit-user">
    hello
</x-filament::modal>


This code is saved in //filament/page/test.blade.php.

My table action is set up like this:

Tables\Actions\Action::make('test-modal')
    ->action(fn ($livewire) => $livewire->dispatch('open-modal', id: 'edit-user')),
Tables\Actions\Action::make('test-modal')
    ->action(fn ($livewire) => $livewire->dispatch('open-modal', id: 'edit-user')),


However, when I click the button, nothing happens. Did I miss something? Any help would be greatly appreciated!

Thank you!
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Modal Dispatch
FilamentFFilament / ❓┊help
2y ago
input in modal doesn't work
FilamentFFilament / ❓┊help
3y ago
Filament modal doesn't work/show
FilamentFFilament / ❓┊help
3y ago
$get doesn't work in action modal
FilamentFFilament / ❓┊help
3y ago