Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8
Open
Description
Are you submitting abug report or afeature request?
Bug report
What is the current behavior?
Ifrequired prop is initiallytrue, then the validate function continues to require the field to be filled in, even if you later change therequired prop tofalse.
What is the expected behavior?
As soon asrequired prop changes, validation checks should reflect that that. So if you change it tofalse, the field should no longer be required.
Sandbox Link
https://codesandbox.io/s/react-final-form-html5-validation-example-n2q8d
Other information
Likely related to#13
Metadata
Metadata
Assignees
Labels
No labels