Redirect

redirect()->route('student-reg-fee-receipt', ['student' => $record]); how to open redirect link in new tab..
8 Replies
Crylar
Crylar2y ago
->openUrlInNewTab() ? 😄 when used on a custom action
Roshan_k
Roshan_kOP2y ago
i will try
Crylar
Crylar2y ago
Tables\Actions\Action::make('test')
->url(fn ($record) => route('location.point', [$record->qr_code]), true)
Tables\Actions\Action::make('test')
->url(fn ($record) => route('location.point', [$record->qr_code]), true)
or just a second url parameter true
Roshan_k
Roshan_kOP2y ago
Method Livewire\Redirector::openUrlInNewTab does not exist. ->action() i need to use inside this..
Dennis Koch
Dennis Koch2y ago
you can’t open a redirect in a new tab
Roshan_k
Roshan_kOP2y ago
okay...can i use route inside action.
Dennis Koch
Dennis Koch2y ago
Sure
Roshan_k
Roshan_kOP2y ago
okay

Did you find this page helpful?