Repository navigation
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. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions