© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Combine more than one field in a Filament Resource recordTitleAttribute - Filament
F
Filament
•
13mo 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
Join
A powerful open-source UI framework for Laravel • Build and ship apps & admin panels fast with Livewire
20,181
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Resource $recordTitleAttribute from relation
F
Filament / ❓┊help
2y ago
Combine two databases to one resource
F
Filament / ❓┊help
3y ago
How to sort records in a table by more than one field?
F
Filament / ❓┊help
4y ago
Show more than one resource inputs into a single Table\Column
F
Filament / ❓┊help
3y ago