Completed Wizard step
We are are building a very custom import of an XLSX file which is not possible with a pre-built Import action.
In the first step, the file gets selected and uploaded.
In the second step, the file gets imported.
As a result in the 3rd step, I want to show a last step with the output of the import. E.g. how many rows have been imported, how many have some data missing, etc. Any idea on how I could achieve that "completed" step in the Wizard?
Solution:Jump to solution
Here's my final schema. I used
afterValidation
in the end.
```
->schema([
Wizard::make([...5 Replies
Yes, use afterStateUpdated in step 2 to upload, and step 3 should be complete which loads the results in with a custom livewire view or table of the imported records.
@toeknee thank you for the tip, I'm doing it similarly now:
How would I load a custom view for a complete step?
ViewField::make()
worked like a charm. Thank you!
Solution
Here's my final schema. I used
afterValidation
in the end.