Version 0.6.1

Released 24 February 2015

New features

  • Add dataType, crossDomain, validKey options for remote validator.
  • It's possible to use remote validator to connect to external validator API, such as MailGun.
  • In addition to Bootstrap, Foundation, Pure, Semantic, UIKit, v0.6.1 provides the ability of supporting custom framework
  • Add declarative option to support big form
  • Add Netherlands phone validator
  • Add Bulgarian zip code validator
  • Add Bulgarian phone number validator
  • Add Polish zip code and id validators

Improvements

  • The remote validator fails if Ajax request fails
  • Update Netherlands phone number validator
  • Add plugin instance to the 3rd parameter of transformer callback
  • Add Grunt task that runs the jasmine test suites

Bug fixes

This version fixed the isValid() method which should return null when there is not validated or being validated field. It also solves the issues where the submit button is disabled even when the form is valid.

  • remote validator and isValid() combined do not work
  • Submit button is disabled
  • Submit button being disabled
  • Can only submit form after changing a value
  • Remote validation trigger err.form.fv
  • Submit incorrectly enabled even though form has errors
  • Show the validating icon when the field is being validated
  • Reset checkbox when calling resetForm() method
  • Fix Slovakia phone number validator
  • Fix the issue where custom validator doesn't provide default message
  • Don't continue if there is no validators attached to fields
  • transformer option doesn't work with notEmpty validator
  • Fix isValidContainer() and validateContainer() methods to support fields with the same name