<Select onChange()>

Does someone knows how I can apply onChange on a Select element?
(shadcn ui)
https://paste.pythondiscord.com/akujoqupuk
image.png
Solution
Shadcn ui is just a wrapper around Radix UI. Correct prop is onValueChange. See https://www.radix-ui.com/docs/primitives/components/select
Displays a list of options for the user to pick from—triggered by a button.
Was this page helpful?