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
1 Reply
Solution
Patrick1989
Patrick19895mo ago
->modalSubmitAction(false)
->modalSubmitAction(false)
found it