sveltik icon indicating copy to clipboard operation
sveltik copied to clipboard

Add support for Yup for form validation

Open nathancahill opened this issue 5 years ago • 3 comments
trafficstars

nathancahill avatar Mar 03 '20 13:03 nathancahill

I'd definitely love that.

Edit: Found your project via google search, Had to scope down to past month to clear the noise. Sveltik looks awesome :)

elithecho avatar Mar 11 '20 01:03 elithecho

Waiting for yup to use!

st-clair-clarke avatar Mar 16 '20 03:03 st-clair-clarke

@aarongeorge

validationSchema prop, either the object or a function that returns the schema.

Yup supports schema.validateAt so individual fields can be validated without validating the whole schema.

The whole schema should also validate on submit.

nathancahill avatar Jun 09 '20 15:06 nathancahill