F
Filamentβ€’2mo ago
hello_world

->action() is not working in wizard ->nextAction()

here is my code
->nextAction(
fn (ActionsAction $action) => $action->label('')
->action(function () {
dd('hello');
})
->extraAttributes(fn () => [
'class' => 'wizard-button'
]),
)
->nextAction(
fn (ActionsAction $action) => $action->label('')
->action(function () {
dd('hello');
})
->extraAttributes(fn () => [
'class' => 'wizard-button'
]),
)
2 Replies
Dennis Koch
Dennis Kochβ€’2mo ago
I don't think it's intended to ovewrite the ->action() ? πŸ€” Or maybe it uses ->url() which you need to set to ->url(null)
hello_world
hello_worldβ€’2mo ago
thanks but not working