react-hook-form -> onSubmit not responding
I am building a small application in NextJS 14 , wherein I am using react-hook-form to simplify the form submission and input handling. I am facing an issue for the last 3-4 days and have tried different ways to find the bug , but I am unable to find one. So the problem is something like this :
Is it normal to get “A component is changing an uncontrolled input to be controlled.” even though I set the defaultValues undefined?
I’m having a little trouble wherein the when I tried to type something in my input field, I get this warning. I think it’s on the password and newPassword