-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
good first issueGreat for first contributions. Enable to learn the contribution process.Great for first contributions. Enable to learn the contribution process.scope: selectChanges related to the select.Changes related to the select.type: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.
Description
There is some mismatch with [Select] events.
<Select
onChange={console.log}
onBlur={console.log}
>
{options}
</Select>In this case, both events are fired, but onChange has event.target set to [Input] with appropriate attributes, but onBlur has event.target set to [Select]. Even when onBlur is set directly to [Input], event.target is still [Select].
Problem is that this makes onBlur event useless when you need handle input value onBlur in stateless components. You can't read input value or any of attributes.
Metadata
Metadata
Assignees
Labels
good first issueGreat for first contributions. Enable to learn the contribution process.Great for first contributions. Enable to learn the contribution process.scope: selectChanges related to the select.Changes related to the select.type: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.