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
Open
Description
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 ?
Metadata
Metadata
Assignees
Labels
No labels