F
Filamentβ€’9mo ago
ericmp

How to hide action modal footer actions?

Im trying
Tables\Actions\Action::make('test')
->modalFooterActions([])
Tables\Actions\Action::make('test')
->modalFooterActions([])
But i still see the actions in the modal footer The action contains an infolist. The user only opens the modal to see the infolist, then clicks away and modal closes, i dont wanna show the footer actions
No description
3 Replies
yagrasdemonde
yagrasdemondeβ€’9mo ago
->modalSubmitAction(false)
->modalCancelAction(false)
->modalSubmitAction(false)
->modalCancelAction(false)
dissto
disstoβ€’9mo ago
If I remember correctly you would need to return an empty array from within a closure
Tables\Actions\Action::make('test')
->modalFooterActions(fn () => [])
Tables\Actions\Action::make('test')
->modalFooterActions(fn () => [])
ericmp
ericmpOPβ€’9mo ago
awesome, both ways work thanks @yagrasdemonde & @dissto πŸ™
Want results from more Discord servers?
Add your server