We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 400698e + c537275 commit 41872c0Copy full SHA for 41872c0
form-validator/jquery.form-validator.js
@@ -511,7 +511,7 @@
511
if( !val )
512
return [];
513
var values = [];
514
- $.each(val.split(func ? func: /[,|-\s]\s*/g ),
+ $.each(val.split(func ? func: /[,|\-\s]\s*/g ),
515
function(i,str) {
516
str = $.trim(str);
517
if( str.length )
@@ -521,7 +521,7 @@
521
return values;
522
} else if( val ) {
523
// exec callback func on each
524
- $.each(val.split(/[,|-\s]\s*/g),
+ $.each(val.split(/[,|\-\s]\s*/g),
525
function(i, str) {
526
527
0 commit comments