F
Filamentβ€’3mo 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β€’3mo ago
->modalSubmitAction(false)
->modalCancelAction(false)
->modalSubmitAction(false)
->modalCancelAction(false)
dissto
disstoβ€’3mo 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
ericmpβ€’3mo ago
awesome, both ways work thanks @yagrasdemonde & @dissto πŸ™
Want results from more Discord servers?
Add your server
More Posts
How do I change the heading on a list page?I've looked all over the documentation for "heading" or "title" but can't seem to figure it out. I'Translatable issue, adding random UUIDs (?)Hi guys, I'm using the Translatable plugin, but getting strange behaviour when using the builder? IUnable to upload images more than 2MB.Aside from that problem, it is not also following the validation message too: ``` FileUpload::make(How to stack table row actions, show as flex-direction column instead of flex-direction rowIs it possible to display a tables actions as being stacked instead of inline? I have these table amultiple file upload - missing some filesHi I am using Filament FileUpload to upload multiple files. I am noticing strange behaviour. Some tisortable() in second-level relationshipCurrently, this resource is using ApplicationStatus model. ``` Tables\Columns\TextColumn::make("appThe resource view page custom CSS did not apply after the table filter.Trying to apply custom CSS on the header widget but after the table filter apply CSS not working.Filament v2 - Color picker lazy/debounceI am using filament v2 and I have a colorpicker field. Since I use the value of this field in anotheIntegrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constrainti have this error. i know that there i have somewhere foreign key but, is it any way to fix it in coConditional Rendering in filament formsI have a form and I want when a use selects sponsorChild I show the children dropdown , when i selec