-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Description
Prerequisites
- I have searched the existing issues
- I understand that providing a SSCCE example is tremendously useful to the maintainers.
- I have read the documentation
- Ideally, I'm providing a sample JSFiddle, Codesandbox.io or preferably a shared playground link demonstrating the issue.
What theme are you using?
core
Version
5.21.2
Current Behavior
If formData
changes externally and liveValidate
is true, errors are not re-validated based on the new formData. Version 5.19.4 works fine. This issue causes a problem in the scenario where the data is stored in an external storage and the schema has widgets that open dialogs that change the data using redux actions. In this case, the user sees the field filled in, but in an invalid state.
Expected Behavior
Errors should be actual against form data
Steps To Reproduce
- Open playground. You will see one field with required error (because formData.firstName is empty).
- Paste the form data:
{
"firstName": "123"
}
- You will see that First name field will contains the
123
but the field still invalid.

Environment
- OS:
- Node:
- npm:
Anything else?
No response