Add action to a wizard step
Is it possible to add an action or any type of code when a certain step in a wizard is clicked/loaded?
5 Replies
with next? You can use the afterStateValidated(function() {run code})
Thanks! But I also want it to trigger when the validation error opens the step back up.
Any ideas?
maybe you can use onValidationError()?
This might work:
- You could create your own custom field -> Load a custom livewire component in it -> Set it to load lazy -> Use it in your wizard as a form -> Run code in the mount() method?
Awesome, thanks!