Open karranlemos opened 2 years ago
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. If you wish to see the issue reopened, please provide the missing information.
@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 https://github.com/mui/material-ui/issues/18269#issuecomment-562892026
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