-
-
Notifications
You must be signed in to change notification settings - Fork 199
Open
Description
Version Number
5.2.0
Codesandbox/Expo snack
https://lightskyliam.github.io/yup-early-validation-issue/
Steps to reproduce
- Go to https://lightskyliam.github.io/yup-early-validation-issue/
- or clone the following github repo: https://github.com/LightSkyLiam/yup-early-validation-issue and run locally
- Click on upload file
- delete the files
- Re-upload the files
- error message for the first schema (the bugged one) is showing even before user interacted with the form at all
Expected behaviour
as in the workingSchema, the error message shows only when the user interacts with the form and creates an error (in my case, deleting the value for a required field.
Example Video
What browsers are you seeing the problem on?
Edge, Chrome
Relevant log output
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels