Why onValueChange for <Select>?
See original GitHub issueAll of the other components seem to work like their native counterparts. Is there a specific reason <Select> doesn’t?
With some other components that I tried (Switch, Input, Textarea, Slider) I can do things like on(Focus|Blur|Change) and it behaves as expected but Select doesn’t use any of these.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
onchange Event - W3Schools
For radiobuttons and checkboxes, the onchange event occurs when the checked state has been changed.
Read more >javascript - How to pass parameters on onChange of html select
I want to show one combobox-A, which is an HTML <select> with its selected id and contents at the other place on onChange()....
Read more >Why onValueChange for <Select>? · Issue #259 · radix-ui ...
Yeah, it's because it's a custom select, so we wouldn't be able to return you ... we called it onValueChange , since the...
Read more >How to Select Onchange in JavaScript - Linux Hint
JavaScript has a built-in event onchange that occurs when the value of an element is selected by the user. For this purpose, a...
Read more >HTMLElement: change event - Web APIs | MDN
When the element loses focus after its value was changed: for elements where the user's interaction is typing rather than selection, such as...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Might also potentially be linked to modulz/modulz#1092
Closing this since Radix is being deprecated. Moved to https://github.com/radix-ui/radix-legacy