glhd/alpine-wizard

Question: canGoForward()

paulpreibisch opened this issue · 1 comments

Hi there, thanks for the plugin.

I am trying to undestand $wizard.canGoForward()

does this return true if validation succeeds? and false if it fails?
when is validation run?

Yeah, canGoForward() returns true if the current step is complete and there is a step after it.