Closed SteveMilesQuant closed 1 week ago
I don't think it's zod or yup. It might be that my packages need an update. Today, I tried moving around FormControl, wrapping in a box or form, and using FormErrorMessage. Nothing seemed to work. For some reason, the modal works just fine, but the non-modal form doesn't. I believe this all works with llmrpg, so maybe I just need to update npm/chakra/react-hook-form.
The numbers issue probably is Zod and switching to Yup will be better. Putting that off for now.
Zod doesn't display my error messages on the form pages, only the modals. It doesn't handle numbers well.