Closed chris-allen closed 2 months ago
best to post that on the reach-hook-form repo
Fixed in #1098
best to post that on the reach-hook-form repo
@stunaz Sorry if it wasn't obvious, but this is referring to the useForm
helper function in create-t3-turbo that wraps the function from react-hook-form with the same name.
@juliusmarminge Thanks for merging!
Provide environment information
Describe the bug
When using the
useForm
wrapper, transforms applied to the schema output type are ignored. Essentially, the formsubmitHandler
falsely advertises that the validated data is of the same format as the schema input.Link to reproduction
N/A
To reproduce
Additional information
No response