Skip to content

Commit

Permalink
0.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuauyi committed Dec 5, 2020
1 parent f54cf44 commit e84d7e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "formidate",
"version": "0.2.3",
"version": "0.2.4",
"description": "Form validation library",
"author": "Joshua Uyi <joshuaouyi@gmail.com>",
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/FormGroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class FormGroup {
}

private appendExistingAsyncErrors(errors: IMappedErrors, exceptFor?: string): IMappedErrors {
// when validating a field, async rules are not included in the validation, hence, we manually set the last know async error
// when validating a field, async rules are not included in the validation, hence, we manually set the last know async error
const newMappedErrors: IMappedErrors = { ...errors };

this.customAsyncRuleKeys.forEach(asyncValidatorKey => {
Expand Down

0 comments on commit e84d7e9

Please sign in to comment.