Skip to content

Validation Event Choice v0.3.0

Compare
Choose a tag to compare
@haacked haacked released this 13 Oct 21:05
· 283 commits to main since this release
  • Add support for choosing the event that triggers validation

By default, input fields are validated when the input event fires. In other words, when the input changes. Now you can control it so a field validates on blur for example: <input type="text" data-val-event="blur" ... />