<select multiple/>
elements. (#463).validator(‘update’)
. (#461)data-validate="false"
upon calling .validator('update')
. (#387)focus
option's error scrolling to only inputs within the validator's form element. (#385)<select multiple required />
being marked as invalid by default with jQuery 3.x (#393)this.$inputs
on .validator('destroy')
.has-success
not being cleared if a field .has-feedback
and has it's value cleared. Shoutout to @net for bringing the bugs fixed in 0.11.1 - 0.11.3 to my attention.input[type="reset"]
to the ignored input filterreset
event listener on the form to reinitialize the plugin.validator('destroy')
where it wasn't removing the .has-success
class$.fn.validator.Constructor.DEFAULTS.errors
if you want to change the default match
and minlength
errors.$.fn.validator.Constructor.INPUT_SELECTOR += ':enabled:visible'
to your code. (#115) (#134) (#317)data-native-error=""
for all of them. (#222) (#241) (#285).validator('update')
method to refresh the set of fields that will be validated (#306)data-validate="true|false"
on inputs to force validation of that fieldelement.checkValidity()
was returning stale values (#293)focus: true
option is now triggered on $('html, body')
instead of $(document.body)
for better cross-browser support (#282)$.fn.validator.Constructor.VERSION
property for parity with core Bootstrap plugins$()
from method headers, which was confusing some people (#202)disable: false
option. (#310)disable: false
option. (#310)$.fn.validator.Constructor.FOCUS_OFFSET
to set a custom offset from the top of the window the page should scroll to when the focus
option is true. Defaults to 20px.focus
option to scroll to and focus the first field with an error (#128).has-danger
class (#271)input
/change
/focusout
event handlers to INPUT_SELECTOR
elements (#251)main
path in bower.json (#219)feedback
option to override the classes used for feedback icons (#97)Validator.INPUT_SELECTOR
jquery >= 1.8.3
to bower.json (#160)button[form="myForm"]
. Fixes #74..form-control-feedback
present.input[type="hidden"]
fields. Fixes #84.input
events. Fixes #38.disable
option to control whether or not the form submit is disabled if the form is invalid. Defaults to true. See #46..validator('destroy')
method. Fixes #10.remote
validator to send an AJAX request to determine a fields validity. Fixes #2.html
option to allow html in error messages. Defaults to false.[type="submit"]
. Best practice is still to give a [type="button"]
for all non-submit buttons. Fixes #17..noConflict()
as per twbs/bootstrap#11464.bs.validator
./
instead of /validator
when running docs locally