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