Skip to content
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

Closed
marcosfsj opened this issue Dec 11, 2019 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@marcosfsj
Copy link

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

@bluebill1049 bluebill1049 added the bug Something isn't working label Dec 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants