Multiple actions inline
How can I have the two actions side by side? I tried without the group but doesn't work with the error
This code display a dropdown but isn't what I want.
Thanks.
This code display a dropdown but isn't what I want.
Thanks.
Header actions must be an instance of Filament\Actions\Action, or Filament\Actions\ActionGroup. protected function getHeaderActions(): array
{
return [
ActionGroup::make([
Action::make()
->name('view')
->icon('heroicon-o-arrow-down-tray')
->url(route('exam.pdf.download', $this->record))
->openUrlInNewTab(),
DeleteAction::make(),
])
];
}use Filament\Actions;
protected function getHeaderActions(): array
{
return [
Actions\Action::make('action1'),
Actions\Action::make('action2'),
];
}