The form validation component for use with Valour and ES-Components
https://kstclaire.github.io/valour-form/
Available Valour Rules
- isRequired
- isRequiredWhen
- isEmail
- contains
- equals
- equalsOther
- matches
- isDate
- isBefore
- isAfter
- isAlpha
- isAlphanumeric
- isNumeric
- isMobilePhone
- isURL
- isBoolean
- isCreditCard
- isCurrency
- isInt
- isDecimal
- isDivisibleBy
- isLength
- isLowercase
- isUppercase
More found in the Valour ValidationUnit code.
- src
| - components
| - form
| - ValourForm.js
| - ValourForm.md
| - inputs
| - textbox
| - ValourTextbox.js
| - ValourTextbox.md
npm run start (run the styleguide on localhost:8080)
npm run build (build javascript)
npm run styleguide-build (build the docs)