->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 Koch7mo 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_worldOP7mo ago
thanks but not working
Want results from more Discord servers?
Add your server