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.
#962, #1318: remote validator and isValid() combined do not work
#1160: Submit button is disabled
#1171: Submit button being disabled
#1220: Can only submit form after changing a value
From v0.6.0, the plugin name is changed to FormValidation. To upgrade from v0.5.3 to v0.6.0, perform the following steps:
Required Step: Changing CSS, Javascript paths
This step is required.
v0.5.3:v0.6.0:
Don't confuse bootstrap(.min).js file provided by the Bootstrap framework with bootstrap(.min).js provided by FormValidation which is placed inside the formvalidation/dist/js/framework directory.
They are two different files and both of them need to be included as mentioned above.
Required Step: Changing your own validator
You can ignore this step in case you don't have any your own validators. Otherwise, change its declaration as following:
v0.5.3:v0.6.0:
Optional Step: Calling plugin
After completing the steps above, you can call the plugin by both programmatic and declarative usages as before.
Using v0.5.3 options as your current one are supported in all v0.6.x releases. It means that you will have a lot of time to upgrade your code while current one still work.
Anyway, it is recommended to change the plugin calling, options which are listed as following: