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

Why ts dont undestand to event.target.value when i type event how InputEvent #60806

Open
anzor1qqqqq opened this issue Dec 18, 2024 · 1 comment

Comments

@anzor1qqqqq
Copy link

🔎 Search Terms

event.target.value does not see value

🕗 Version & Regression Information

  • This changed between versions ______ and _______
  • This changed in commit or PR _______
  • This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
  • I was unable to test this on prior versions because _______

⏯ Playground Link

https://www.typescriptlang.org/play/?#code/MYewdgzgLgBAFgQzAEwDYFMCSYAOBXKAYUTAHN0YBeGACnQDd0woAuGbfKAUUeYEoqAPhgBvAFAxJMUJFhQEAJ3KxqDJlAB08peigBuCVJkQQGDahCka25RvoJUedHwMBfPUA

💻 Code

example in ts playground link

🙁 Actual behavior

Property 'value' does not exist on type 'EventTarget'.(2339)

🙂 Expected behavior

I have to access value without problems.

Additional information about the issue

No response

@MartinJohns
Copy link
Contributor

Because event bubbling is a thing in JavaScript.

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