Skip to content

How to validate the value of a select element whose options are generated by Props passed into a React component #3722

Answered by risingfish
risingfish asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, of course right after I post this, I see the issue. 🫤 Need to remove the valueAsNumber flags form the register functions.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by risingfish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant