-
Notifications
You must be signed in to change notification settings - Fork 143
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
why the onInput is type 'Event' not 'InputEvent', can get e.target.value #234
Comments
The most easier way to solve this problem is mark event to any. |
Not sure why. But you can type cast your |
@vutran6853 I think it's about babel-jsx, need to redefine the type of the origin input ? |
|
@Amour1688 Why is this issue closed? Yes, that is a solution, but that is not expected behavior. How hard would it be to fix this? |
plus one for reopening this issue... |
but when I switch to Event, I can't find e.target.value, how I can get the input value through the event
![image](https://user-images.githubusercontent.com/49113249/102483949-824d9680-40a0-11eb-9e90-d20c9b00856a.png)
The text was updated successfully, but these errors were encountered: