F
Filament15mo ago
Crylar

How to customise title in SelectFilter loaded via relationship?

I have the following filter and would love to concat title with prefix field. How it's possible to modify the results?
Tables\Filters\SelectFilter::make('pod')
->multiple()
->searchable()
->relationship('pod', 'title'),
Tables\Filters\SelectFilter::make('pod')
->multiple()
->searchable()
->relationship('pod', 'title'),
1 Reply
Dan Harrin
Dan Harrin15mo ago
maybe just pass options() and query() manually