© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
7 replies
technocrat

How to Programmatically Navigate to a Specific Step in a Wizard

How can I programmatically navigate to step 2 ("Delivery") using a function call or dispatch in Livewire?

I tried:
Livewire.dispatch('next-wizard-step', { statePath: 'mountedTableActionsData.2' });
Livewire.dispatch('next-wizard-step', { statePath: 'mountedTableActionsData.2' });

However, it's not behaving accurately. Sometimes it goes to step 2, but other times it skips to step 3.

 Wizard::make([
    Wizard\Step::make('Order')
        ->schema([
            // ...
        ]),
    Wizard\Step::make('Delivery')
        ->schema([
            // ...
        ]),
    Wizard\Step::make('Billing')
        ->schema([
            // ...
        ]),
])
 Wizard::make([
    Wizard\Step::make('Order')
        ->schema([
            // ...
        ]),
    Wizard\Step::make('Delivery')
        ->schema([
            // ...
        ]),
    Wizard\Step::make('Billing')
        ->schema([
            // ...
        ]),
])
Solution
Wizard::make([...
])
->extraAlpineAttributes(['@update-step.window' => 'step = event.detail.newStep'])
Wizard::make([...
])
->extraAlpineAttributes(['@update-step.window' => 'step = event.detail.newStep'])


$dispatch('update-step', {newStep: 'delivery'})
$dispatch('update-step', {newStep: 'delivery'})
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

Form builder - Programmatically step with Wizard?
FilamentFFilament / ❓┊help
15mo ago
How to use relationship in Wizard Step?
FilamentFFilament / ❓┊help
3y ago
File upload in a wizard step?
FilamentFFilament / ❓┊help
6mo ago
How to skip Wizard step conditionally?
FilamentFFilament / ❓┊help
14mo ago