Browse Source
Revert "'on: change' causes error prompts to appear when blurring field "
revert-4423-avalanche1-patch-2
Jack Lukic
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/definitions/behaviors/form.js
|
@ -358,7 +358,7 @@ $.fn.form = function(parameters) { |
|
|
module.validate.field( validationRules ); |
|
|
module.validate.field( validationRules ); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else if(settings.on == 'blur') { |
|
|
|
|
|
|
|
|
else if(settings.on == 'blur' || settings.on == 'change') { |
|
|
if(validationRules) { |
|
|
if(validationRules) { |
|
|
module.validate.field( validationRules ); |
|
|
module.validate.field( validationRules ); |
|
|
} |
|
|
} |
|
|