Skip to content
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

name prop #644

Closed
maddhruv opened this issue Sep 20, 2018 · 1 comment
Closed

name prop #644

maddhruv opened this issue Sep 20, 2018 · 1 comment

Comments

@maddhruv
Copy link

Is your feature request related to a problem? Please describe.
event.target.name is missing

Describe the solution you'd like
Add name prop

Describe alternatives you've considered
either will use native element or doing separate handlers

Additional context
Add any other context or screenshots about the feature request here.

screenshot from 2018-09-20 18-57-21

@dmtrKovalenko
Copy link
Member

The event onChange is not provide an event argument cause there are quite a lot places from where you can submit an event. And that would not be an input.
So you need to mock event, by creating the object with event.target.value by yourself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants