© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
9 replies
daar

Accessing the active record in a Relation Manager

I would like to access the record from within a Relation Manager. This works for a Resource Manager, but in this case, it seems to fail. Any suggestions?

Tables\Actions\EditAction::make()
    ->visible(
        function (ConsultNote $consultNote) {
            return $consultNote->created_by == auth()->user()->id &&
                $consultNote->created_at->diffInHours() < 24;
        }
    ),
Tables\Actions\EditAction::make()
    ->visible(
        function (ConsultNote $consultNote) {
            return $consultNote->created_by == auth()->user()->id &&
                $consultNote->created_at->diffInHours() < 24;
        }
    ),
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

Help with accessing a record in Filament relation manager
FilamentFFilament / ❓┊help
2y ago
Current record in relation manager
FilamentFFilament / ❓┊help
3y ago
Change the active relation manager tab
FilamentFFilament / ❓┊help
3y ago
relation manager record information
FilamentFFilament / ❓┊help
2y ago