<Select onChange()>

Does someone knows how I can apply onChange on a Select element? (shadcn ui) https://paste.pythondiscord.com/akujoqupuk
Solution:
Shadcn ui is just a wrapper around Radix UI. Correct prop is onValueChange. See https://www.radix-ui.com/docs/primitives/components/select
Select – Radix UI
Displays a list of options for the user to pick from—triggered by a button.
Jump to solution
2 Replies
Solution
ergusto
ergusto2y ago
Shadcn ui is just a wrapper around Radix UI. Correct prop is onValueChange. See https://www.radix-ui.com/docs/primitives/components/select
Select – Radix UI
Displays a list of options for the user to pick from—triggered by a button.
Ayato
Ayato2y ago
Thanks
Want results from more Discord servers?
Add your server