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
validateField
can't access property "validate", fieldRegistry.current[name] is undefined
setFieldTouched
errors
See in this example, click into the face field that click away and see that it throws an error because of validateField https://codesandbox.io/s/formik-example-forked-vqwnm3?file=/index.js
handle the validation case when the fields are nested. In my scenario I have to use the validateField function
The text was updated successfully, but these errors were encountered:
Have the same issue. Still hasn't been fixed.
Sorry, something went wrong.
No branches or pull requests
Bug report
Current Behavior
validateField
on a nested field, it throws the errorcan't access property "validate", fieldRegistry.current[name] is undefined
setFieldTouched
Expected behavior
validateField
should add the error nested under the appropriate object in theerrors
objectReproducible example
See in this example, click into the face field that click away and see that it throws an error because of
validateField
https://codesandbox.io/s/formik-example-forked-vqwnm3?file=/index.js
Suggested solution(s)
handle the validation case when the fields are nested. In my scenario I have to use the validateField function
Your environment
The text was updated successfully, but these errors were encountered: