Proks D
Proks D
FFilament
Created by Proks D on 6/14/2024 in #❓┊help
Wizard next confirm dialog
Is there any way to confirm the next step of the Wizard component? I manage to prevent the prev button, now I need to confirm when click next (like delete confirm). tryed:
Wizard::make($steps)
->nextAction(
function (Action $action) {
return $action->label('Next')->requiresConfirmation();
},
)
Wizard::make($steps)
->nextAction(
function (Action $action) {
return $action->label('Next')->requiresConfirmation();
},
)
1 replies
FFilament
Created by Proks D on 6/7/2024 in #❓┊help
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
Header actions must be an instance of Filament\Actions\Action, or Filament\Actions\ActionGroup.
Header actions must be an instance of Filament\Actions\Action, or Filament\Actions\ActionGroup.
This code display a dropdown but isn't what I want.
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(),
])
];
}
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(),
])
];
}
Thanks.
7 replies