mirror of
https://github.com/jquery-validation/jquery-validation.git
synced 2025-12-20 09:11:40 +01:00
Added pseudo selector for text input types to fix issue with default empty type attribute. Added tests and some test markup. Fixes #217
This commit is contained in:
committed by
Jörn Zaefferer
parent
02b10a6568
commit
a436634fe8
2
jquery.validate.js
vendored
2
jquery.validate.js
vendored
@@ -323,7 +323,7 @@ $.extend($.validator, {
|
||||
}
|
||||
}
|
||||
$(this.currentForm)
|
||||
.validateDelegate("[type='text'], [type='password'], [type='file'], select, textarea, " +
|
||||
.validateDelegate(":text, [type='password'], [type='file'], select, textarea, " +
|
||||
"[type='number'], [type='search'] ,[type='tel'], [type='url'], " +
|
||||
"[type='email'], [type='datetime'], [type='date'], [type='month'], " +
|
||||
"[type='week'], [type='time'], [type='datetime-local'], " +
|
||||
|
||||
Reference in New Issue
Block a user