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() method.
Jump to solution
1 Reply
Solution
Mohamed Ayaou
Mohamed Ayaou6d ago
just override the getRecordTitleAttribute() method.

Did you find this page helpful?