1.15.0
版本发布时间: 2016-02-25 02:33:49
jquery-validation/jquery-validation最新发布版本:1.21.0(2024-07-17 17:47:06)
1.15.0 / 2016-02-24
All
- Fixed code style issues
Core
-
resetForm
should also removevalid
class from elements. - Unhighlighting field if already highlighted when using remote rule.
- Bind the
blur
event just once inequalTo
rule - Fixed error when calling .rules() on empty jquery set.
- Fix handling of error messages with input groups.
- Fix TypeError in
showLabel
when usinggroups
settings - Adding a way to pass method name to remote
- Validation fails to trigger when next field is already filled out (Fixes #1508)
- Required rule take precedence over number & digits rules
- Error hidden but input error class not removed
- Remote validation uses wrong error messages
- Fixed field highlighting with remote validation.
- Fixed
:filled
selector for multiple select elements. - Added doc reference to jQuery.validator.methods
- Move message processing from
formatAndAdd
todefaultMessage
- ErrorList should contain only the errors that it should
- Extract the file name without including "C:\fakepath"
- HTML5 step attribute support. Fixes #1295
- Added support for "pending" class on outstanding requests
- Added normalizer (#1602)
- Split out
creditcard
method - Escape errorID for use in the regex, not to build aria-describedby
- Escape single quotes in names avoiding a Sizzle Error being thrown
- Instead of using validating field's value to skip api call, use the serialized data object of the request
- Add support for contentEditable tags
Additional
- BIC: allow digits 1-9 in second place of location
- Accept method regex should be escaped properly.
- Case-insensitive check for BIC
- Correct postalCodeCA to exclude invalid combinations
- Make postalCodeCA method more lenient
Localization
- Added Macedonian localization.
- Added missing pattern message in Polish (adamwojtkiewicz)
- Fixed Persian translation of min/max message.
- Updated messages_sk.js
- Update Malay translation
- Included messages from additional methods
- Improving pt_BR translation and fixing a typo on the 'cifES' key.
1、 jquery-validation-1.15.0.zip 1.27MB