glhd/alpine-wizard

Question: When and how is the validator triggered?

Opened this issue · 4 comments

How do I trigger the validator?

Hi there,

I have a similar question - how is the validation triggered in order to display an error message?

Thanks in advance.

Hi there,

I have a similar question - how is the validation triggered in order to display an error message?

Thanks in advance.

Haven't had time to figure it out, for now am validating on the server and redirecting to the step that needs to show it

It just uses alpine's reactivity. So if the data changes, everything is just reevaluated…

@inxilpro ok, I'll take another look. Do you have a working example/demo?