devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Field names are not displayed

Open a777med opened this issue 2 years ago • 2 comments

image

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} />
    </>
  );

a777med avatar Mar 02 '22 11:03 a777med

Where are the input fields??

iprime2 avatar Nov 25 '23 11:11 iprime2

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

walleXD avatar Dec 12 '23 02:12 walleXD