Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

React-Hook-Form Property in Form.Input  #566

Description

@mdestafadilah

Hi, I Just follow in Login.Page but i'm not using Formik, i'm using react-hook-form, i'm trying testing with

<Form.Input name="randomText" placeholder="randomText" />

reproduce

 <input className="form-control" type="text" name="randomText" placeholder="Kode Unik"  />

but in react-hook-form we must register every input with ref tag with {...register("test")}

if i'm using

 <input className="form-control" type="text" name="randomText" placeholder="Kode Unik"  `{...register("randomText")}` />

it's woking, can somebody give some trick? or i just use reactstrap ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions