Get Current Step on Wizard
Hi guys, im so confused how to get current step on wizard nextAction, is there have a solution?
for example if current step is on Delivery, i wanna disabled next button after validation has clear.
Thank you
5 Replies
I also need it, and I couldn't get it, did you happen to get it?
You can't go to next unless validation has passed, so why disable it?
Haven't used the Wizard yet, but if you can turn on the
persistStepInQueryString
you should be able to get the current step using request()->query($this->getStepQueryStringKey())
Have a look at https://github.com/filamentphp/filament/blob/fe0cdd1ef29f3ea09fcff96af9f0e82b7e9bab70/packages/forms/src/Components/Wizard.php#L218-L233, maybe there is a simpler way.GitHub
filament/packages/forms/src/Components/Wizard.php at fe0cdd1ef29f3e...
A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS. - filamentphp/filament
Now the application development period is complete sir π
, and yeah im use validation for solving my problems
i think the tricks that say on the top worth to try
Thanks
Thanks