This repository has been archived by the owner on Jan 14, 2021. It is now read-only.
When value is set to select, I can no longer select another value #29
Labels
bug
Something isn't working
When I set a default value to my component, I cannot select a different value after.
To reproduce:
1: Go here: https://codesandbox.io/s/react-hook-form-hookforminput-rzu9s
2: set a default value and see that I cannot reselect another value:
<RHFInput
as={
Ten Twenty Thirty
}
value={10}
name="Select"
register={register}
setValue={setValue}
/>
The text was updated successfully, but these errors were encountered: