Best practices for handling React Select value types in forms with validation libraries (Zod/Yup) #6061
Unanswered
adnanx-ecosmob
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem Summary
I'm working with React Select in a form that uses React Hook Form + Zod validation, and I'm struggling with the type inconsistency between edit and create modes:
{ label: "Company Name", value: "123" }
"123"
from APICurrent Setup
Beta Was this translation helpful? Give feedback.
All reactions