F
Filamentyassensayed.

How to return the Wizard to step 1 after create success in custom page.

Hello, I have created a custom page using the form following schema this form saves the data into external API.
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([
// ...
]),
])
Everything is good, But after the creation successfully I'm using $this->form->fill() this method clears the data but doesn't reset the wizard to the first step. Any Idea? Best Regards.