Form Validation (in progress)
There are 2 types of validation that can be performed on a form: Function and Schema.
Schema Validations
React Formz has the ability to validate your form data against a schema validator. So far, 2 schema validators are supported out of the box: Yup and Zod.
Yup
Yup validation can be used by installing @zerry/react-formz-validators-yup
.
Zod
Zod validation can be used by installing @zerry/react-formz-validators-zod
.