Basic validation interface added
A developer can now:
- Have the
is-errorclass toggle automatically based on validity of input elements - Add a custom error message by adding a
data-validation-messageattribute 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.