I'm one step further. What I found out is that a redirect in the handle of a NovaAction works. But then I have the problem that I can't access the query parameter in the fields area of the resource.
public function handle(ActionFields $fields, Collection $models)
{
return ActionResponse::redirect('/nova/resources/offers/new?id=' . $models->first()->id);
}
The question remains whether it is not possible with the static redirect in the actions? It wouldn't matter if it worked via the handle function and the action response method. Nevertheless, the question remains how I can access the query parameter in the Fields area. In the NovaResponse is no query parameter, and I can also not access it via the global response().
One way would be to go via session, but then I can't see any difference from where the user called the action, via the action or via the resource's new button.
I didn't think that something so trivial would keep me busy for so long. But I am relative new to nova ... - hope someone can help me with this ...