Browse Source

Merge pull request #4423 from Semantic-Org/avalanche1-patch-2

'on: change' causes error prompts to appear when blurring field
revert-4423-avalanche1-patch-2
Jack Lukic 6 years ago
committed by GitHub
parent
commit
6b176dd89c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      src/definitions/behaviors/form.js

2
src/definitions/behaviors/form.js

@ -358,7 +358,7 @@ $.fn.form = function(parameters) {
module.validate.field( validationRules );
}
}
else if(settings.on == 'blur' || settings.on == 'change') {
else if(settings.on == 'blur') {
if(validationRules) {
module.validate.field( validationRules );
}

Loading…
Cancel
Save