Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.

Basic validation interface added

Compare
Choose a tag to compare
@Andy-set-studio Andy-set-studio released this 03 Jan 23:03
· 26 commits to master since this release

A developer can now:

  • Have the is-error class toggle automatically based on validity of input elements
  • Add a custom error message by adding a data-validation-message attribute to an element

The validation interface will also check sibling inputs when an input fails validation. This will remove the is-error class if they are valid when they were previously invalid.

Lastly, a basic Webpack setup has been added along with these changes.