Skip to content

Wizard: save data on each step #11609

Closed Answered by leandrocfe
sambeauprak asked this question in Help
Discussion options

You must be logged in to vote

You can use afterValidation and get the form state from each step

Step::make('Step1')
    ->schema([
    ...
    ])
    ->afterValidation(function (Component $livewire) {
        $data = $livewire->form->getState();
    })

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@juanborras
Comment options

Answer selected by sambeauprak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants