Skip to content

Commit

Permalink
fix: disposeValidationOnBlur
Browse files Browse the repository at this point in the history
  • Loading branch information
foxhound87 committed Aug 22, 2017
1 parent ab4604f commit 5a1b914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Field.js
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ export const prototypes = {
const opt = this.state.options;

if (type === 'onBlur' || opt.get('validateOnBlur', this)) {
observe(this, '$focused', ({ newValue }) =>
this.disposeValidationOnBlur = observe(this, '$focused', ({ newValue }) =>
(newValue === false) &&
this.debouncedValidation({
showErrors: opt.get('showErrorsOnBlur', this),
Expand Down

0 comments on commit 5a1b914

Please sign in to comment.