-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for React Hook Form (uncontrolled forms) #32266
Comments
What do you expect to see by "Support for React Hook Form"? Do you mean the documentation about how-to integrate with React hook form? |
Since the issue is missing key information, and has been inactive for 7 days, it has been automatically closed. |
@siriwatknp, I meant support for uncontrolled forms, which is the main feature provided by the library. Trying to use uncontrolled forms with Material UI can cause certain problems at the moment. Since @oliviertassinari suggested that, once the library became more popular, you could reevaluate supporting this feature, and the library has become very popular as of late, I was thinking it might be a good time to bring up the matter. |
@karranlemos Thanks for the explanation. I have reopened the issue and wait for upvotes. |
Duplicate of #18269? I thought it could be solved with #18269 (comment) |
Duplicates
Latest version
Summary 馃挕
Support for React Hook Form, particularly for uncontrolled forms, which are really useful for improving performance, since components such as TextField can get really stuttery with both Formik and RHF controlled components.
Although we already can integrated TextField with uncontrolled RHF functions, but it creates some problems with its internal state, such as the label not shrinking / growing when the field is set programatically or dirty checks not working.
In the later thread, @oliviertassinari suggested reevaluating supporting RHF once it gained more traction, like Formik.
Since then, the library has exploded in popularity and, currently, has almost the same number of weekly downloads as Formik (1,780,630 x 1,903,062).
Are there any considerations on this matter?
Examples 馃寛
No response
Motivation 馃敠
No response
The text was updated successfully, but these errors were encountered: