mikhael28/paretOS

`ChangePassword.tsx` react-bootstrap -> react-hook form migration

Aperta

#295 aperta il 20 ago 2022

 (4 commenti) (0 reazioni) (1 assegnatario)JavaScript (45 fork)auto 404
Reactgood first issue

Metriche repository

Star
 (35 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Description

There are several areas of the repo that are still using the Bootstrap form components FormGroup, FormControl, ControlLabel, and HelpBlock. These should be migrated to Material UI (FormControl, FormControlLabel, and FormHelperText). In addition, we want to have those components refactored to Hook's from classes (if they aren't already), and to use the react-hook-form npm library to improve the performance of our forms. Review this old Issue for more details. You can refer to Login.js to see what successful implementation looks like.

If you'd like to help, please respond to this issue!

A comprehensive refresher on Material UI forms: https://smartdevpreneur.com/every-material-ui-form-component-explained-mui-v5/

Official docs: FormControl FormControlLabel FormHelperText

Guida contributor