© 2026 Hedgehog Software, LLC

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

visible block table action

Hi, im trying to use ->visible() on a table action but when it is present my ->action method doesnt not execute its code, and example:


Tables\Actions\Action::make('entregas')
                        ->icon('heroicon-o-clipboard-check')
                        ->action(function (Semana $record) {
                            \dd($record);
                        })
                        ->visible(fn($record) => $record->actividades_count > 0),
Tables\Actions\Action::make('entregas')
                        ->icon('heroicon-o-clipboard-check')
                        ->action(function (Semana $record) {
                            \dd($record);
                        })
                        ->visible(fn($record) => $record->actividades_count > 0),
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

Create action not visible
FilamentFFilament / ❓┊help
5mo ago
Table Action
FilamentFFilament / ❓┊help
3y ago
Why is my Action visible?
FilamentFFilament / ❓┊help
2y ago
Table Actions for RelationshipManager be Visible in ViewPage
FilamentFFilament / ❓┊help
3y ago