|
|
||
|---|---|---|
| .. | ||
| components | ||
| custom-validation | ||
| login | ||
| reset-values | ||
| README.md | ||
| global.css | ||
| index.html | ||
| webpack.config.js | ||
README.md
Formsy React Examples
To run and development examples:
- Clone this repo
- Run
npm install - Start the development server with
npm run examples - 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
-
Two required fields with simple validation.
-
One field with added validation rule (
Formsy.addValidationRule) and one field with dynamically added validation and error messages. -
Reset text input, checkbox and select to their pristine values.