F
Filament17mo ago
Abi

Method to handle the Submit button on an action with Wizard Steps

when using steps() method to show a wizard on an action, is action() method still the handler for when the Submit button is clicked on the last step? Here is the code that I have
return Action::make('create')
->label('New Job Listing')
->extraAttributes([
'class' => 'bg-gradient-purple-left'
])
->steps($this->getCreateActionSchemaForWizard())
->skippableSteps(true)
->action(fn() => ray(func_get_args()));
return Action::make('create')
->label('New Job Listing')
->extraAttributes([
'class' => 'bg-gradient-purple-left'
])
->steps($this->getCreateActionSchemaForWizard())
->skippableSteps(true)
->action(fn() => ray(func_get_args()));
Nothing seems to happen on clicking the Submit button.
1 Reply
Abi
AbiOP17mo ago
Looks like this is related to github issue https://github.com/filamentphp/filament/issues/7177, so marking this a solved
GitHub
Issues · filamentphp/filament
Admin panel, form builder and table builder for Laravel. Built with the TALL stack. Designed for humans. - Issues · filamentphp/filament
Want results from more Discord servers?
Add your server