Skip to content

Commit

Permalink
Merge branch 'master' into production
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkosterr committed Nov 15, 2024
2 parents c12573a + 8a1da76 commit 89086d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mixins/abstractField.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default {
this.errors = toUniqueArray(errors)

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

0 comments on commit 89086d7

Please sign in to comment.