Overview
The project combines the use of Material-UI and react-hook-form to simplify form handling in React. It provides various opinionated use cases with components such as FormContainer, AutocompleteElement, TextFieldElement, SelectElement, MultiSelectElement, RadioButtonGroup, CheckboxButtonGroup, CheckboxElement, SwitchElement, PasswordElement, DatePickerElement, DateTimePickerElement, SliderElement, and ToggleButtonGroup. The package utilizes pickers and icons from the Material-UI ecosystem and is compatible with MUI v5 and react-hook-form v7. The project also includes examples and use cases in its demo.
Features
- Simplifies form handling in React
- Provides opinionated use cases with various form components
- Utilizes pickers and icons from the MUI ecosystem
- Compatible with MUI v5 and react-hook-form v7
- Includes examples and use cases in the demo
Installation
To use this package, you need to install it and add the necessary dependencies.
npm install material-ui react-hook-form-mui
For versions >= 3.x of the package, MUI v5 is used. For versions 1 & 2, Material-UI v4 is used.
For versions >= 6.x of the x-date-pickers package, version 6 is used. Make sure to upgrade your dependencies accordingly.
Summary
The combination of Material-UI and react-hook-form in this project simplifies form handling in React. It provides a range of form components and utilizes pickers and icons from the Material-UI ecosystem. The project is compatible with MUI v5 and react-hook-form v7 and includes examples and use cases in its demo.