formsy-react/examples
Dmitry Semigradsky d25a0ace2c Merge pull request #202 from zpalexander/examples-readme-broken-links
Fix 'localhost' links in 'Examples' readme
2015-09-10 13:27:47 +03:00
..
custom-validation Merge pull request #201 from iwangu/master 2015-09-10 13:24:06 +03:00
login Use react-dom 2015-08-31 13:17:58 +00:00
README.md Fix 'localhost' links in 'Examples' readme 2015-09-09 10:44:51 -04:00
global.css Add example of custom validation 2015-04-09 13:48:09 +03:00
index.html Add example of custom validation 2015-04-09 13:48:09 +03:00
webpack.config.js Changed loader for examples. 2015-05-15 21:53:08 +03:00

README.md

Formsy React Examples

To run and development examples:

  1. Clone this repo
  2. Run npm install
  3. Start the development server with npm run examples
  4. Point your browser to http://localhost:8080

Possible Issues

Examples might not run if you have an old node packages. Try clear npm cache and reinstall dependencies:

rm -rf node_modules
npm cache clean
npm install
npm run examples

If it is not helped try update your node.js and npm.

Examples

  1. Login

    Two required fields with simple validation.

  2. Custom Validation

    One field with added validation rule (Formsy.addValidationRule) and one field with dynamically added validation and error messages.