Replies: 1 comment
-
It should work the same way as a native select, which only accepts strings. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there
I see in the docs of the Select peimitive that that root component accepts only values of type string. Indeed typescript forces it too.
Passing the value as an object seems to work so far in my project.
Is there any technical reason why I should not use objects as values?
Beta Was this translation helpful? Give feedback.
All reactions