devtools
devtools copied to clipboard
Field names are not displayed
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} />
</>
);
Where are the input fields??
Had the same issue which was cause by global css text colors set to black and so the text was not visible in the devtool components