valour-form

2.0.0 • Public • Published

ValourForm

The form validation component for use with Valour and ES-Components


Documentation and Demos

https://kstclaire.github.io/valour-form/

Available Valour Rules

valour.rule.isRule()
  • 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.

Project Structure

- src
| - components
  | - form
    | - ValourForm.js
    | - ValourForm.md
  | - inputs
    | - textbox
      | - ValourTextbox.js
      | - ValourTextbox.md

Build commands

npm run start (run the styleguide on localhost:8080)

npm run build (build javascript)
npm run styleguide-build (build the docs)

Readme

Keywords

none

Package Sidebar

Install

npm i valour-form

Weekly Downloads

2

Version

2.0.0

License

none

Last publish

Collaborators

  • kstclaire