Replies: 1 comment 1 reply
-
I'm also having similar problem. For some reason it seems like const [field, meta, helpers] = useField('name')
helpers.setError('error')
console.log(meta.error) I do have a yup validation on this field as well, but it's only something like {
name: yup.mixed().required('Please enter name')
} In this case, |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It logs the expected error message but doesn't set it to "error" even though I have called the setError.
Beta Was this translation helpful? Give feedback.
All reactions