Andy-set-studio / boilerform

Boilerform is a little HTML and CSS boilerplate to take the pain away from working with forms.
https://boilerform.hankchizljaw.com
MIT License
712 stars 35 forks source link

Feature/validation interface #3

Closed Andy-set-studio closed 6 years ago

Andy-set-studio commented 6 years ago

This PR adds a basic validation interface which extends the native HTML validation implementation.

A developer can now:

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.

Fixes #2 🚀