© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•11mo ago•
3 replies
Alberto

Combine more than one field in a Filament Resource recordTitleAttribute

Is there a way to call a function to instead reading just an attribute?

So instead of protected static ?string $recordTitleAttribute = 'title;

Using something like fn ($record) return "{$record->title} / {$record->subtitle}"
Solution
just override the
getRecordTitleAttribute()
getRecordTitleAttribute()
method.
Jump to solution
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

Resource $recordTitleAttribute from relation
FilamentFFilament / ❓┊help
2y ago
Combine two databases to one resource
FilamentFFilament / ❓┊help
3y ago
How to sort records in a table by more than one field?
FilamentFFilament / ❓┊help
3y ago
Show more than one resource inputs into a single Table\Column
FilamentFFilament / ❓┊help
3y ago