You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you change a value in a Select element there is no change event that bubbles causing patterns like <form onChange> to stop working.
🤔 Expected Behavior?
The select should trigger a change event like normal form elements.
😯 Current Behavior
The <Select> element does not behave like a native <select> element by not bubbling change events.
💁 Possible Solution
I believe the reason why this currently does not work is because the select just get's re-rendered. Maybe adding a manual change event in the <HiddenSelect> would solve this.
Provide a general summary of the issue here
When you change a value in a Select element there is no change event that bubbles causing patterns like
<form onChange>
to stop working.🤔 Expected Behavior?
The select should trigger a change event like normal form elements.
😯 Current Behavior
The
<Select>
element does not behave like a native<select>
element by not bubbling change events.💁 Possible Solution
I believe the reason why this currently does not work is because the select just get's re-rendered. Maybe adding a manual change event in the
<HiddenSelect>
would solve this.🔦 Context
No response
🖥️ Steps to Reproduce
https://codesandbox.io/p/sandbox/twilight-voice-tjmwcl?file=%2Fsrc%2FApp.js%3A4%2C9
Version
1.0.0-rc.0
What browsers are you seeing the problem on?
Firefox, Chrome, Safari, Microsoft Edge
If other, please specify.
No response
What operating system are you using?
macOS
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
The text was updated successfully, but these errors were encountered: