© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
6 replies
Rolland

how to disable footer actions on a Modal?

I tried to disable the actions but when I click refresh while the modal is open it displayed like shown on the image


this is the Action code to trigger the Modal

Tables\Actions\Action::make('View pdf')
                    ->disabledForm()
                    ->modalContent(fn ($record) => view('app.custom-modal', ['record' => $record]))
                    ->modalSubmitAction(fn ($action) => $action->disabled(fn (): bool => true)->hidden())
                    ->modalCancelAction(fn ($action) => $action->disabled(fn (): bool => true)->hidden()),
Tables\Actions\Action::make('View pdf')
                    ->disabledForm()
                    ->modalContent(fn ($record) => view('app.custom-modal', ['record' => $record]))
                    ->modalSubmitAction(fn ($action) => $action->disabled(fn (): bool => true)->hidden())
                    ->modalCancelAction(fn ($action) => $action->disabled(fn (): bool => true)->hidden()),



and yes i enabled the ->unsavedChangesAlerts() in the provider.
image.png
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

How to test modal footer actions
FilamentFFilament / ❓┊help
9mo ago
Modal footer actions alignment
FilamentFFilament / ❓┊help
2y ago
How to hide action modal footer actions?
FilamentFFilament / ❓┊help
2y ago
Modal Footer
FilamentFFilament / ❓┊help
2y ago