Open alexnguyennz opened 1 month ago
<Controller
control={control}
name="email"
render={({ field: { value } }) => (
<Input value={value} {...register("email")} />
)}
/>
This seems to solve the issue for me. Please try this and let me know.
Yep using Controller does work as a workaround.
NextUI Version
2.4.6
Describe the bug
Have encountered this issue posted here:
When loading in values, the value is reset when hovering over the input.
Your Example Website or App
https://codesandbox.io/p/devbox/great-sara-fcx6hm?file=%2FApp.jsx
Steps to Reproduce the Bug or Issue
Expected behavior
Value doesn't disappear
Screenshots or Videos
No response
Operating System Version
Windows
Browser
Chrome