InputText/InputTextArea: Typescript won't allow setting value
#3573
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Typescript
Issue or pull request is *only* related to TypeScript definition
Milestone
Describe the bug
In Typescript if you do this to set the value programatically.
You get the error
Property 'value' does not exist on type 'InputText'.
Reproducer
No response
PrimeReact version
8.7.1
React version
17.x
Language
TypeScript
Build / Runtime
Next.js
Browser(s)
ALL
Steps to reproduce the behavior
Compiler you will see the warning that
value
does not existExpected behavior
Allowed to set value like it was a regular
HtmlInputText
The text was updated successfully, but these errors were encountered: