How can I pass now the instance of the model record whose view link I clicked? I'm being redirected to tickets/{ticket_id} but I cannot find anywhere how I can show the ticket properties.
Any help would be greatly apreciated
Solution
use \Filament\Resources\Pages\Concerns\InteractsWithRecord;public function mount(int | string $record): void{ $this->record = $this->resolveRecord($record);}
use \Filament\Resources\Pages\Concerns\InteractsWithRecord;public function mount(int | string $record): void{ $this->record = $this->resolveRecord($record);}