valiForm$
Creates a validation functions that parses the Valibot schema of a form.
const validate = valiForm$(schema);
Parameters
schema
MaybeFunction<
BaseSchema<
>FieldValues
,any
> | BaseSchemaAsync<FieldValues
,any
>
Return
validate
QRL<
(values:
>PartialValues<
) =>FieldValues
>FormErrors