Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: string().notRequired() #1824

Merged
merged 1 commit into from
Nov 7, 2022
Merged

fix: string().notRequired() #1824

merged 1 commit into from
Nov 7, 2022

Conversation

lwassermann
Copy link
Contributor

In a project, we need to undo some .required() fields in .when()-conditions, but for string() that does not work 🙈.

This should fix it. 🤞

Thank you for your work maintaining this validation library (coming here from the Formik-recommendation). 💚

@jquense
Copy link
Owner

jquense commented Nov 7, 2022

Thanks!

@jquense jquense merged commit dcb4b63 into jquense:master Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants