Disable/Hide all Action Modal Buttons

Is it possible to hide all action modal submit/cancel buttons. I just want to show some info in a popup modal. Is there anothey way of doing this?
Solution:
You could pass an empty array to the modalFooterActions of your action
Tables\Actions\Action::make('dummy')
->modalFooterActions(fn () => [])
Tables\Actions\Action::make('dummy')
->modalFooterActions(fn () => [])
...
Jump to solution
2 Replies
Solution
dissto
dissto6mo ago
You could pass an empty array to the modalFooterActions of your action
Tables\Actions\Action::make('dummy')
->modalFooterActions(fn () => [])
Tables\Actions\Action::make('dummy')
->modalFooterActions(fn () => [])
tinkypinky
tinkypinky6mo ago
It still shows the buttons Ah so I have to pass an anonymous function. Got it.