© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
28 replies
Kitty

How do you add processing spinner to wizard button?

As an example, in a wizard the next button has a processing spinner but the submit does not, how do I add it to the submit?
Wizard::make($steps)
                    ->submitAction(new HtmlString(Blade::render(
                        <<<'BLADE'
                    <x-filament::button
                        type="submit"
                        size="xl"
                        color="primary"
                    >

                        {{trans('Start Questionnaire')}}
                    </x-filament::button>
                    BLADE
                    )))
                    ->nextAction(
                        fn (Action $action) => $action->color('primary'),
                    )
Wizard::make($steps)
                    ->submitAction(new HtmlString(Blade::render(
                        <<<'BLADE'
                    <x-filament::button
                        type="submit"
                        size="xl"
                        color="primary"
                    >

                        {{trans('Start Questionnaire')}}
                    </x-filament::button>
                    BLADE
                    )))
                    ->nextAction(
                        fn (Action $action) => $action->color('primary'),
                    )
Solution
Maybe adding this
wire:target="your_submit_method"
wire:target="your_submit_method"
to the button
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Add a button inline with the wizard buttons
FilamentFFilament / ❓┊help
3y ago
How to add loading for filament wizard Next Step Button?
FilamentFFilament / ❓┊help
5mo ago
how to hide wizard back button?
FilamentFFilament / ❓┊help
2y ago
How do you change button order?
FilamentFFilament / ❓┊help
3y ago