React-Hook-Form Issue

I attached the code, there is no errors, it just seems the handleformsubmit function isn't firing, and idk why
2 Replies
Tom
Tom10mo ago
this bit me a bunch when i started the 2nd parameter to handleSubmit() is an onError() function, which should have a lot more info on whats wrong
mac.dev
mac.dev10mo ago
oh I figured it out I wasnt console logging the actual zod errors and the 'number input' tremor component, had a string type for the value go figure