Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
<Select onChange()> - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
3y ago
•
3 replies
Ayato
<Select onChange()>
Does someone knows how I can apply
onChange
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
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
Theo's Typesafe Cult
Join
26,268
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Custom onChange function to react-date-picker
TTC
Theo's Typesafe Cult / questions
3y ago
accidently select Nextauth
TTC
Theo's Typesafe Cult / questions
3y ago
onchange isnt triggering when a search query is passed to an element
TTC
Theo's Typesafe Cult / questions
3y ago