New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Select] Set the onChange's event.target.value #14
Comments
shall i work on this issue? |
Sure, go ahead! |
@harsh5902 are you still working on this? if not, can I take it? |
yes i am still working on it. |
I have investigated the problem in more depth. In the case of Select, setting the
I'd like to wait and see if this becomes a problem in real-world applications. When we see concrete examples of how this should work, we may be able to think of the right solution. Until then, I'm putting it on hold. A side note: neither Headless UI nor Radix UI provides the |
@michaldudak slightly unrelated, but is there a similar rationale behind not supporting e.target.name as well? |
We are considering changing this API in the new version of the Select but nothing is set in stone yet. |
As noted in mui/material-ui#34408 (comment), it's worth ensuring that the event object in Unstyled Select's
onChange
method has a target property with a validvalue
property.The text was updated successfully, but these errors were encountered: