Replies: 1 comment 1 reply
-
Hi there, it is not clear to me what you're referring to at this point. Please provide a minimal example. |
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
-
Hi,
For some fields, I want the value to be controlled, eg. by state or context.
Therefore I set value prop and onChange by myself.
But this gives me now an error when using this in conjunction with yup.required.
Here is an example: https://codesandbox.io/s/react-final-form-material-ui-example-forked-hym8ci?file=/src/index.tsx
When typing a value in obj.id field, it still shows the required error. Removing the controlled state (value & onChange) it works as expected.
Beta Was this translation helpful? Give feedback.
All reactions