Is there a way to perform an action then open a new tab afterwards?

Actions\Action::make('preview') ->action(function ($record, Component $livewire) { // Update or create the preview record $preview = $record->preview()->updateOrCreate( ['id' => $record->preview->id ?? null], ['data' => $this->form->getState()] );
//Open a preview url in a new tab }),
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?