We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
errorOptions doesn't works well with nested schema. Once edited a field remains permanently in error state while the the full model is validated.
https://codesandbox.io/s/example-6-j711q
Issue seems to be in VFJS_EVENT_FIELD_MODEL_VALIDATE, where the field validation schema doesn't handle correctly nested key like user.firstName
The text was updated successfully, but these errors were encountered:
Hi, thanks for reporting. I'll investigate and report back.
Sorry, something went wrong.
I've added a fix for this in #28 I'll merge this tomorrow as it's getting late.
#28 has now been merged.
Another example has been added which shows nested properties in action: https://nxn8y.codesandbox.io/
No branches or pull requests
errorOptions doesn't works well with nested schema.
Once edited a field remains permanently in error state while the the full model is validated.
https://codesandbox.io/s/example-6-j711q
Issue seems to be in VFJS_EVENT_FIELD_MODEL_VALIDATE, where the field validation schema doesn't handle correctly nested key like user.firstName
The text was updated successfully, but these errors were encountered: