{"repo":"formsy/formsy-react","free":true,"listed":false,"github":"https://github.com/formsy/formsy-react","clone":"git clone https://github.com/formsy/formsy-react.git","description":"A form input builder and validator for React JS","language":"TypeScript","stars":762,"topics":["react","form","validation","form-validation","formsy"],"license":"MIT","category":"ui-components","readme_excerpt":"formsy-react A form input builder and validator for React. Quick Start API 1.x API --------------------------- -------------- ------------------------------------------------------------------ Background christianalfoni wrote an article on forms and validation with React, Nailing that validation with React JS, the result of that was this library. The main concept is that forms, inputs, and validation are done very differently across developers and projects. This React component aims to be that “sweet spot” between flexibility and reusability. This project was originally located at christianalfoni/formsy-react if you're looking for old issues. What You Can Do 1. Build any kind of form element components. Not just traditional inputs, but anything you want, and get that validation for free 2. Add validation rules and use them with simple syntax 3. Use handlers for different states of your form. ( onSubmit , onValid , etc.) 4. Pass external errors to the form to invalidate elements (E.g. a response from a server) 5. Dynamically add form elements to your form and they will register/unregister to the form Install yarn add formsy-react react react-dom and use with webpack, browserify, etc. Formsy component packages - twisty/formsy-react-components - Bootstrap components for a Formsy-React form. - zabute/formsy-semantic-ui-react - Semantic-Ui-React components for a Formsy-React form. 1.x to 2.x Upgrade Guide The 2.0 release fixed a number of legacy decisions in the Formsy API, mostly","default_branch":null,"files":null,"tree":[],"storefront":"/r/formsy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/formsy/formsy-react/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."}