diff --git a/CHANGELOG.md b/CHANGELOG.md index d1714101..e0513c13 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 6.8.1 (master) +- Fix: call `invalidate()` with `async` argument. + # 6.8.0 (master) - Field `invalidate()` methods arguments updated, introduced `deep`. diff --git a/src/validators/SVK.ts b/src/validators/SVK.ts index cb565acf..26fa8954 100755 --- a/src/validators/SVK.ts +++ b/src/validators/SVK.ts @@ -124,7 +124,7 @@ class SVK implements ValidationPluginInterface { executeAsyncValidation(field) { if (field.validationAsyncData.valid === false) { - field.invalidate(field.validationAsyncData.message, true); + field.invalidate(field.validationAsyncData.message, true, true); } } diff --git a/src/validators/VJF.ts b/src/validators/VJF.ts index 74980e9d..9997e3bb 100755 --- a/src/validators/VJF.ts +++ b/src/validators/VJF.ts @@ -98,7 +98,7 @@ export class VJF implements ValidationPluginInterface { executeAsyncValidation(field) { if (field.validationAsyncData.valid === false) { - field.invalidate(field.validationAsyncData.message, true); + field.invalidate(field.validationAsyncData.message, true, true); } } diff --git a/src/validators/YUP.ts b/src/validators/YUP.ts index 48547984..23f8faf0 100755 --- a/src/validators/YUP.ts +++ b/src/validators/YUP.ts @@ -81,7 +81,7 @@ class YUP implements ValidationPluginInterface { executeAsyncValidation(field) { if (field.validationAsyncData.valid === false) { - field.invalidate(field.validationAsyncData.message, true); + field.invalidate(field.validationAsyncData.message, true, true); } } }