© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
13 replies
Mark Chaney

Searchable Relationships in Tables

So if i have
Tables\Columns\TextColumn::make('user.name')
    ->label('Name')
    ->description(fn ($record) => $record->user->phone)
    ->searchable(),
Tables\Columns\TextColumn::make('user.name')
    ->label('Name')
    ->description(fn ($record) => $record->user->phone)
    ->searchable(),
, i cant simply add do
->searchable(['user.name','user.phone'])
->searchable(['user.name','user.phone'])
to add the phone field as a searchable attribute to it. Whats proper way to handle this?
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

Relationships in tables
FilamentFFilament / ❓┊help
3y ago
Sorting polymorphic relationships in Tables
FilamentFFilament / ❓┊help
3y ago
Postgres throws "undefined column" when using searchable in tables
FilamentFFilament / ❓┊help
4mo ago
Searchable for models/relationships with different database connections
FilamentFFilament / ❓┊help
2y ago