zodForm$
Creates a validation functions that parses the Zod schema of a form.
const validate = zodForm$(schema);
Parameters
schema
MaybeFunction<
ZodType<
>any
,any
,FieldValues
>
Return
validate
QRL<
(values:
>PartialValues<
) =>FieldValues
>FormErrors