FilamentF
Filament3y 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()));


Nothing seems to happen on clicking the Submit button.
Was this page helpful?