->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'
]),
)