FilamentF
Filament16mo ago
pgferro

Display view in new tab

Hi all,
I have this BulkAction to print some labels:
BulkAction::make('print_labels')
  ->label('Stampa Selezionati')
  ->icon('heroicon-o-printer')
  ->color('success')
  ->action(function (Collection $records) {
      $ids = $records->pluck('id')->toArray();
      $url = route('print-labels', ['ids' => implode(',', $ids)]);
      return redirect()->away($url);
  })
  ->deselectRecordsAfterCompletion(),

Is there a way to open the view in a new tab ?
Thanks !!
Was this page helpful?