FilamentF
Filament12mo ago
frame

TextEntry as link to related resource

What's the easiest way to make Infolists\Components\TextEntry::make('client.name') link to the client's view page?
Solution
->url(fn($record) => route('my_view', ['id' => $record->id])

or along them lines?
Was this page helpful?