question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why onValueChange for <Select>?

See original GitHub issue

All 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:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
benoitgrelardcommented, May 26, 2020

Might also potentially be linked to modulz/modulz#1092

0reactions
peduartecommented, Jan 7, 2021

Closing this since Radix is being deprecated. Moved to https://github.com/radix-ui/radix-legacy

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found