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

Mention: Some properties doesn't exist on type #3419

Closed
wagnergos opened this issue Oct 4, 2022 · 1 comment · Fixed by #3421
Closed

Mention: Some properties doesn't exist on type #3419

wagnergos opened this issue Oct 4, 2022 · 1 comment · Fixed by #3421
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component. Typescript Issue or pull request is *only* related to TypeScript definition
Milestone

Comments

@wagnergos
Copy link

Describe the bug

When using some properties like placeholder or rows I get a typescript error "Property 'placeholder' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Mention> & Readonly<MentionProps> & Readonly<...>'."

Reproducer

No response

PrimeReact version

7.x.x

React version

17.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@wagnergos wagnergos added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 4, 2022
@melloware melloware added Typescript Issue or pull request is *only* related to TypeScript definition and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Oct 4, 2022
@melloware melloware self-assigned this Oct 4, 2022
@melloware melloware added this to the 8.6.2 milestone Oct 4, 2022
melloware added a commit to melloware/primereact that referenced this issue Oct 4, 2022
@melloware
Copy link
Member

Thanks for the report you are right it is not inheriting from InputTextArea like it should

@mertsincan mertsincan added the Type: Bug Issue contains a defect related to a specific component. label Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component. Typescript Issue or pull request is *only* related to TypeScript definition
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants