vamo
TTCTheo's Typesafe Cult
•Created by vamo on 11/29/2023 in #questions
React hook form with zod submit error:
Im trying to implement custom components with react hook form with zod for validation
For Input Select RadioButton etc.
For now I implemented it for Form Wrapper aswell as Input component but for some reason when I submit I get following errors:
email: {message: 'Required', type: 'invalid_type', ref: undefined}
name: {message: 'Required', type: 'invalid_type', ref: undefined}
Any Ideas why that may be? Here is my implementation, Form wrapper:
3 replies