Skip to content

Commit 89086d7

Browse files
committed
Merge branch 'master' into production
2 parents c12573a + 8a1da76 commit 89086d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mixins/abstractField.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default {
8787
this.errors = toUniqueArray(errors)
8888

8989
if (isFunction(this.field.onValidated)) {
90-
this.field.onValidated.call(this, this.model, results, this.field)
90+
this.field.onValidated.call(this, this.model, errors, this.field)
9191
} else if (this.field.onValidated !== undefined) {
9292
throw new Error('onValidated property must be of type `function`, on ' + this.field.name)
9393
}

0 commit comments

Comments
 (0)