mirror of
https://github.com/jquery-validation/jquery-validation.git
synced 2025-12-14 20:35:47 +01:00
This commit is contained in:
@@ -190,7 +190,8 @@ $.extend( $.expr[ ":" ], {
|
||||
|
||||
// http://jqueryvalidation.org/filled-selector/
|
||||
filled: function( a ) {
|
||||
return !!$.trim( "" + $( a ).val() );
|
||||
var val = $( a ).val();
|
||||
return val !== null && !!$.trim( "" + val );
|
||||
},
|
||||
|
||||
// http://jqueryvalidation.org/unchecked-selector/
|
||||
|
||||
Reference in New Issue
Block a user