**Excelent job in this component!** How can I validate on press "Next" bu

Excelent job in this component!

How can I validate on press “Next” button, staying in the step in error case?

Hi,
thats currently not supported. You would have to checkout the repo and implement that functionality yourself.

I agree this is already an awesome component, but exposing the “Next” click listener to enable validating as a prerequisite to moving forward would be a very helpful feature.

Thanks for your work!

Hi, I added different validation modes in 1.0.9. ValidationMode.ON_CHANGE should use the old behaviour: The next button is only enabled when the step is valid.
ValidationMode.ON_CLICK will call the step/content isValid method and only move on when the step is valid. So please implement either your own step or validationContent and validate in the isValid method.

You can set these modes my calling setValidationMode(ValidationMode)

Please let me know if this works for you or if you find any bugs, since I didnt have much time to test it.

Yep, that looks great! I see where it’s used in the examples as well. Many thanks for your effort on this helpful add-on!