[Select] onChange doesn't return the selected child element when native = false #12739
Closed
2 tasks done
Labels
bug 🐛
Something doesn't work
component: select
This is the name of the generic UI component, not the React module!
is #12448 about native = true?
Expected Behavior
onChange return the selected child element as second argument when native = false
Current Behavior
onChange only return event
Steps to Reproduce
Possible Causes
https://github.com/mui-org/material-ui/blob/20f092609316b2f4a9f1b191a9c681c89f55b55a/packages/material-ui/src/Select/SelectInput.js#L98
SelectInput passed the child, but input does't get it
https://github.com/mui-org/material-ui/blob/20f092609316b2f4a9f1b191a9c681c89f55b55a/packages/material-ui/src/Input/Input.js#L307-L316
The text was updated successfully, but these errors were encountered: