The afterValidation function is not functioning as expected in the last step of the wizard form.

I am utilizing the filament wizard functionality in CreateAction. However, I am encountering an issue where I have multiple tables to store data, and I aim to store data in a table at each step of the wizard. Currently, I am achieving this through the afterValidation method. Yet, I've observed that in the last step of the wizard form, the afterValidation method doesn't seem to be triggered. It appears as though it is not being called.
1 Reply
Luc Van Keer
Luc Van Keer9mo ago
I have the same question/problem Got a solution. In the submit method call $this->form->getState() which will cause the validation of the last step to trigger.
Want results from more Discord servers?
Add your server