Async validation issues #951
Unanswered
anukmathew
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In my schema, I do async validation of some fields (to check if same entry already exists). Also in the schema, there are certain fields which requires a minimum value. This minimum value is provided dynamically. So I am using extend to extend the schema in the component to pass the minimum value required in those fields. Now the issue is, the async validation works as expected. But the minimum value required for other fields show errors when the criteria is not met, but the error goes away as soon as I type in other async validation fields and it gets validated. The errors in the min value fields again pop up if other fields fail. I am able to submit the form when the min value error goes away for that brief time which should not be the ideal case.
Beta Was this translation helpful? Give feedback.
All reactions