Skip to content

Field names are not displayed #120

@a777med

Description

@a777med

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions