© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
20 replies
guitarnerd_

How to get record data or just id of a relation manager record.

 class ItemsRelationManager extends RelationManager
{
    protected static string $relationship = 'items';

    protected static ?string $recordTitleAttribute = 'id';

    public static function form(Form $form): Form
    {

//how to get the record id here
}
}
 class ItemsRelationManager extends RelationManager
{
    protected static string $relationship = 'items';

    protected static ?string $recordTitleAttribute = 'id';

    public static function form(Form $form): Form
    {

//how to get the record id here
}
}
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

How to get record id in relation managers?
FilamentFFilament / ❓┊help
2y ago
How to get team_id when creating new record from Relation Manager
FilamentFFilament / ❓┊help
2y ago
relation manager record information
FilamentFFilament / ❓┊help
2y ago
Get URL for record in relation manager
FilamentFFilament / ❓┊help
2y ago