Filament v2 Wizard Step mandatory
I have a step where the inputs are not required. But the step itself must be viewed before submitting . So the users must visit the step at least once before they submit the form.
How can I do that ?
9 Replies
You would need to prevent skipping steps
how can i do that ?
Till now if i have a required field in one of the steps it doesn;t skip it but on this step the user may or not fill a input
both are valid
If you'd like to allow free navigation, so all the steps are skippable, use the skippableSteps() method:
Does filament 2 have that also ?
yep
for the form builder...since i have used it in the table builder
So where you are defining the wizard just add it to it
Wizard::make('my_wizard')->steps()->skippableSteps(false)