Replies: 1 comment
-
SelectPrimitive.Root has onValueChange prop you will get change value from here |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I want to navigate to another page when selecting another item from the
Select
primitive.How do i call
onChange
function in a<Select>
primitive?Something like this:
I also tried wrapping it in a
Link
component but its not working.Beta Was this translation helpful? Give feedback.
All reactions