© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•11mo ago•
19 replies
Illizian

Modal Action with Wizard, add additional Footer Actions

I am using a the
->steps()
->steps()
method on an Action, to create a Wizard with a modal action:
use Filament\Forms;
use Filament\Tables\Actions\Action;

Action::make('wizard')
    ->steps([
        Forms\Components\Wizard\Step::make('Step 1')
            ->schema([
                Forms\Components\TextInput::make('foo'),
            ]),
        Forms\Components\Wizard\Step::make('Step 2')
            ->schema([
                Forms\Components\TextInput::make('bar'),

            ]),
    ])
use Filament\Forms;
use Filament\Tables\Actions\Action;

Action::make('wizard')
    ->steps([
        Forms\Components\Wizard\Step::make('Step 1')
            ->schema([
                Forms\Components\TextInput::make('foo'),
            ]),
        Forms\Components\Wizard\Step::make('Step 2')
            ->schema([
                Forms\Components\TextInput::make('bar'),

            ]),
    ])


I am trying to register an additional footer action to this modal; what I have tried:

Action::make('wizard')
    ->steps([/* ... */])
    ->extraModalFooterActions(fn (Action $action): array => [
        $action->makeModalSubmitAction('Another', arguments: ['foo' => 'bar']),
    ]),
    ->registerModalActions([
        Action::make('Another')
    ]),
Action::make('wizard')
    ->steps([/* ... */])
    ->extraModalFooterActions(fn (Action $action): array => [
        $action->makeModalSubmitAction('Another', arguments: ['foo' => 'bar']),
    ]),
    ->registerModalActions([
        Action::make('Another')
    ]),


Having a dig around, I think I am being "hindered" by the
getModalFooterActions()
getModalFooterActions()
method on the CanOpenModal trait, it appears to ignore the above methods as a result of the modal containing a wizard, so I assume I'm missing a method I should be calling instead?

Any help very much appreciated ❤️
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to hide action modal footer actions?
FilamentFFilament / ❓┊help
2y ago
Modal footer actions alignment
FilamentFFilament / ❓┊help
2y ago
Additional actions in wizard step
FilamentFFilament / ❓┊help
11mo ago
Pass action form data to extra modal footer actions
FilamentFFilament / ❓┊help
3y ago