© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
3 replies
Patrick

How to remove the default submit button from a modal

  Action::make('Medewerkers bekijken')
               
                ->modalContent(fn ($record): View => view(
                    'filament.resources.course-resource.pages.interests-overview-modal',
                    ['record' => $record],
                ))
                ->modalContentFooter(
                    new HtmlString('')
                )
                ->slideOver()
  Action::make('Medewerkers bekijken')
               
                ->modalContent(fn ($record): View => view(
                    'filament.resources.course-resource.pages.interests-overview-modal',
                    ['record' => $record],
                ))
                ->modalContentFooter(
                    new HtmlString('')
                )
                ->slideOver()

Opening a modal with a custom view, this view only displays a table so i dont need a submit button
Solution
 ->modalSubmitAction(false)
 ->modalSubmitAction(false)


found it
Jump to solution
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

remove button from modal
FilamentFFilament / ❓┊help
3y ago
How remove this submit button
FilamentFFilament / ❓┊help
3y ago
How to remove createAnother button from createOptionAction modal?
FilamentFFilament / ❓┊help
16mo ago
Modal Submit Button V2
FilamentFFilament / ❓┊help
3y ago