1st class support for React-Hook-Form
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
Summary 💡
Hi!
I want to use React-Form-Hool (that seems to be the leader in this space) to validate my forms.
I would like MUI to provide its own version of the register function that binds a input control to a useForms element.
Examples 🌈
There is a pr in the main repo with documentation how to use RFH, but there is a lot of boilerpøate that is prone to errors.
https://github.com/mui/material-ui/pull/37522
Motivation 🔦
Proper form validation with MUI controls with the least amount of code
(we will generate Zod schemas automaticaly based on our OpenApi schemas to tie everything together!)
Order ID 💳 (optional)
56440
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the React Hook Form usage documentation in PR 37522 and compare it with the requested MUI integration. Clarify the proposed register API and its scope; done should mean a defined first-class integration that reduces the documented boilerplate and has corresponding usage documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100