Searchable Relationships in Tables

So if i have
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']) to add the phone field as a searchable attribute to it. Whats proper way to handle this?
Was this page helpful?