-
Notifications
You must be signed in to change notification settings - Fork 929
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
transform() not being executed after v0.31.1 #1260
Labels
Comments
lcdss
changed the title
Transform method does not execute anymore when combined with the when method
Transform method not being executed after v0.31.1
Feb 12, 2021
lcdss
changed the title
Transform method not being executed after v0.31.1
transform() not being executed after v0.31.1
Feb 12, 2021
i think its a bug https://codesandbox.io/s/yup-forked-d27b3?file=/src/index.js |
oops definitely a bug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't know if it's a feature or a bug, but since the version 0.32 the
transform
method is not executed anymore if combined with thewhen
method. So now it's necessary call thetransform
method in both when cases (true
andfalse
) to get the same result as earlier versions.I create an example on codesandbox to demonstrate this issue I had.
The text was updated successfully, but these errors were encountered: