-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Field names are not displayed. Even though I'm using it normally.
I'm using: TypeScript, Zod, @hookform/devtools@^4.0.1
and react-hook-form@^7.27.1
.
const methods = useForm<TFormValues>({ ...options, resolver: schema && zodResolver(schema) });
return (
<>
<form
className={clsx('space-y-6', className)}
onSubmit={methods.handleSubmit(onSubmit)}
id={id}
>
{children(methods)}
</form>
<DevTool control={methods.control} />
</>
);
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working