<Select onChange()>
Does someone knows how I can apply
onChange
on a Select element?
(shadcn ui)
https://paste.pythondiscord.com/akujoqupuk![](https://utfs.io/f/fc164ae5-48f3-496a-88cc-4ae0f0db1ef4-1nq2cb.png)
Solution:Jump to solution
Shadcn ui is just a wrapper around Radix UI. Correct prop is
onValueChange
. See https://www.radix-ui.com/docs/primitives/components/selectSelect – Radix UI
Displays a list of options for the user to pick from—triggered by a button.
2 Replies
Solution
Shadcn ui is just a wrapper around Radix UI. Correct prop is
onValueChange
. See https://www.radix-ui.com/docs/primitives/components/selectSelect – Radix UI
Displays a list of options for the user to pick from—triggered by a button.
Thanks