Skip to content

fix: string().notRequired()#1824

Merged
jquense merged 1 commit intojquense:masterfrom
lwassermann:fix-string-not-required
Nov 7, 2022
Merged

fix: string().notRequired()#1824
jquense merged 1 commit intojquense:masterfrom
lwassermann:fix-string-not-required

Conversation

@lwassermann
Copy link
Copy Markdown
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
Copy Markdown
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