Closed visualroam closed 4 years ago
Hey,
when working with the RHF Input Libary and Select, the option I select is not being selected. And does not show up at the submition.
"react": "^16.12.0", "react-hook-form": "^3.28.12", "react-hook-form-input": "^1.1.3",
<RHFInput as={<Select width='100%' placeholder="Wunschhändler" options={sales} />} setValue={setValue} name={"whish_market"} id={"whish_market"} register={register}/>
I tried it exactly like the quick start example.
@visualroam This pkg has been merged into the main lib and is now called Controller. See link -> https://react-hook-form.com/api#Controller
Controller
thanks @cfnelson yes please use Controller instead.
Hey,
when working with the RHF Input Libary and Select, the option I select is not being selected. And does not show up at the submition.
<RHFInput as={<Select width='100%' placeholder="Wunschhändler" options={sales} />} setValue={setValue} name={"whish_market"} id={"whish_market"} register={register}/>
I tried it exactly like the quick start example.