{"repo":"NewOldMax/react-material-ui-form-validator","free":true,"listed":false,"github":"https://github.com/NewOldMax/react-material-ui-form-validator","clone":"git clone https://github.com/NewOldMax/react-material-ui-form-validator.git","description":"Simple validator for forms designed with material-ui components.","language":"JavaScript","stars":323,"topics":["react","material-ui","form-validation"],"license":"MIT","category":"ui-components","readme_excerpt":"Validation component for material-ui forms Demo Installation Versions + 0.x, 1.x - supports material-ui = 1.x 3.x 4.x + ^3.0.0 - supports material-ui = 5.x Implementation of react-form-validator-core for material-ui Migration guide From =2.1.1 Breaking changes was introduced to react-form-validator-core in order to avoid legacy context. If you have custom validator components then you should change render method of your input components to renderValidatorComponent . Before: After: Info Supported types: + Text (TextValidator) + Select (SelectValidator) Some rules can accept extra parameter, example: Example Usage You can pass any props of field components, but note that errorText prop will be replaced when validation errors occurred. Your component must provide a theme. You can add your custom rules: Currently material-ui doesn't support error messages for switches, but you can easily add your own: Advanced usage Contributing This component covers all my needs, but feel free to contribute.","default_branch":null,"files":null,"tree":[],"storefront":"/r/NewOldMax","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NewOldMax/react-material-ui-form-validator/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}