cali
cali15mo ago

Stepper: next or previous?

How to know in the Validations of the Stepper component, if the user clicked on Next or Previous button? There are things I want to validate only if the user is on the step X and clicked on Next, but not if s/he is on step X and clicked on Previous.
3 Replies
cali
cali15mo ago
Also, how do I navigate between steps in edit mode to insert components without triggering the Validations of the Stepper component?
Faton
Faton15mo ago
Hi, the Stepper component doesn't expose if the user clicked previous or next. I can add that in the outputs though! We also don't have a way to edit a step without triggering the validations, I'll look into adding a way to do that as well!
cali
cali15mo ago
Sure. Thank you for the willingness to help with this! Currently, it's difficult for me to structure the app because I have to keep commenting out the validations when I'm editing and uncommenting them when I want to run. And some validations I can't do because they would only serve for the 'next', not the 'previous'.