Filament Action redirect not opening a new tap
hello everyone
i have this problem
Action::make('create_and_enter_session')
->action(function ($record) {
//code here
//this code return url
//when i do return redirect
return redirect ($url);
//this return open url on same page i need url open in new tab
})
and when i use:
return redirect ()->away($url);
it's not working
and when i use url:
Action::make('create_and_enter_session')
->url(function ($record) {
//code here
//this code return url
//when i do return redirect
return $url;
//this return open url on same page i need url open in new tab
}, true)
it takes so long to reload the page and i can't find any thing to fix this problem.
thenks alot
1 Reply
Please read #✅┊rules on code formatting.
There is no way to open a redirect in a new tab. Yu can only open links in a new tab.