© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
10 replies
Hro

Getting the attached and parent record in a relation manager hook

I know there is a way, I just cannot seem to directly figure out which one.
                Tables\Actions\AttachAction::make()->after(function () {
                    dd('attached');
                }),
                Tables\Actions\CreateAction::make()->after(function () {
                    dd('Created');
                }),
                Tables\Actions\AttachAction::make()->after(function () {
                    dd('attached');
                }),
                Tables\Actions\CreateAction::make()->after(function () {
                    dd('Created');
                }),


In the hooks above, how can I get the attached record and the record it was attached to?
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

Access parent $record in relation manager
FilamentFFilament / ❓┊help
2y ago
Accessing the active record in a Relation Manager
FilamentFFilament / ❓┊help
3y ago
Current record in relation manager
FilamentFFilament / ❓┊help
3y ago
relation manager record information
FilamentFFilament / ❓┊help
2y ago