You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The z.enum type appears to not resolve correctly when using preprocess. The value set in initialValues should be resolved to whatever is returned from the preprocess function. I see the value in the form, but it fails to match anything defined in the enum.
System Info
.
Contributes
I am willing to submit a PR to fix this issue
I am willing to submit a PR with failing tests
The text was updated successfully, but these errors were encountered:
Reproduction
https://gist.github.com/marr/fd74158b1ce07b299584520eb01f01fd
Describe the bug
The z.enum type appears to not resolve correctly when using preprocess. The value set in initialValues should be resolved to whatever is returned from the preprocess function. I see the value in the form, but it fails to match anything defined in the enum.
System Info
.
Contributes
The text was updated successfully, but these errors were encountered: