AutoComplete: event type in onInput
prop is FormEvent<HtmlSpanElement>
#6145
Labels
Typescript
Issue or pull request is *only* related to TypeScript definition
Milestone
Describe the bug
When use onInput prop in AutoComplete componente, typescript reports an error in
e.target.value
, saying thatvalue
does not exist, but if print theconsole.log(e.target.value)
, works fine.Reproducer
https://stackblitz.com/edit/ykfbhx?file=src%2FApp.tsx
PrimeReact version
10.5.1
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
Use input-related props and not show errors when calling e.target.value
The text was updated successfully, but these errors were encountered: