You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
precompiledValidator.validateFormData() throwing error that precompiled schema differs from provided schema even though the two schemas used are the same. This is happening because Form.validate() is first resolving the root schema then calling validateFormData.
The precompiledValidator.rawValidation needs to first resolve the rootSchema then compare the two
Expected Behavior
Expected the two schemas to be equal and it validate the form.
Steps To Reproduce
No response
Environment
- OS:
- Node:
- npm:
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Prerequisites
What theme are you using?
core
Version
5.7
Current Behavior
precompiledValidator.validateFormData() throwing error that precompiled schema differs from provided schema even though the two schemas used are the same. This is happening because Form.validate() is first resolving the root schema then calling
validateFormData
.The
precompiledValidator.rawValidation
needs to first resolve the rootSchema then compare the twoExpected Behavior
Expected the two schemas to be equal and it validate the form.
Steps To Reproduce
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: