-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue: Form-level disabled
doesn't affect uncontrolled inputs that aren't rendered immediately
#12021
Closed
1 task done
amitdahan opened this issue
Jun 16, 2024
· 1 comment
· Fixed by johnchoi96/johnchoi96.github.io#235, keyasuda/free-location-sheet#266, carltrepanier/threads_clone#240, theMistletoe/rubberduck#20 or yunji0387/next-form-app#63
Closed
1 task done
issue: Form-level disabled
doesn't affect uncontrolled inputs that aren't rendered immediately
#12021
amitdahan opened this issue
Jun 16, 2024
· 1 comment
· Fixed by johnchoi96/johnchoi96.github.io#235, keyasuda/free-location-sheet#266, carltrepanier/threads_clone#240, theMistletoe/rubberduck#20 or yunji0387/next-form-app#63
Comments
From what I can understand, the issue is due to the following react-hook-form/src/useForm.ts Lines 104 to 107 in 1d0503b
|
bluebill1049
added a commit
that referenced
this issue
Aug 18, 2024
This was referenced Sep 15, 2024
oskarski
pushed a commit
to oskarski/react-hook-form
that referenced
this issue
Oct 1, 2024
…-render without trigger by useEffect (react-hook-form#12193) * 🐞 fix react-hook-form#12021 issue with disable prop not reflect on re-render without trigger useEffect * fix issue with unit tests
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Version Number
7.51.5
Codesandbox/Expo snack
https://codesandbox.io/p/sandbox/white-glitter-lqhxg3
Steps to reproduce
Expected behaviour
Both fields are disabled
Code of Conduct
The text was updated successfully, but these errors were encountered: