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

onValueChange event.target is nullified #217

Closed
zweris opened this issue Aug 30, 2018 · 1 comment
Closed

onValueChange event.target is nullified #217

zweris opened this issue Aug 30, 2018 · 1 comment
Labels

Comments

@zweris
Copy link

zweris commented Aug 30, 2018

Normally when you press backspace in an input field the bellow code works as expected but if you would type "-" (without quotes) in empty input field and then press backspace then the "e.target" becomes null. Is this intended behavior or is it a bug?

onValueChange={(numberValue, e) => { console.log(e.target) }}

@s-yadav
Copy link
Owner

s-yadav commented Sep 2, 2018

e.target should be consistent. Will check.

@s-yadav s-yadav added the bug label Sep 2, 2018
@s-yadav s-yadav closed this as completed in b5b81ab Sep 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants