[Select] triggered onBlur event.target element is the selected option #10534
Labels
component: select
This is the name of the generic UI component, not the React module!
support: question
Community support but can be turned into an improvement
Expected Behavior
Setting
onBlur
event on a select TextField I expect the triggered onBlurevent.target
to be the TextField.Current Behavior
It is the selected option (or MenuItem) element.
Context
I'm abstracting away form validation and submission. I use both onChange and onBlur
event.target
to get thevalue
andname
attributes of that element. Since onBlur event.target name is nowundefined
I get it from the props.Your Environment
The text was updated successfully, but these errors were encountered: