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

InputOtp: Type not Working with Sample Template #6765

Open
SSpinelli opened this issue Jun 17, 2024 · 1 comment
Open

InputOtp: Type not Working with Sample Template #6765

SSpinelli opened this issue Jun 17, 2024 · 1 comment
Labels
good first issue *** Welcome to PrimeReact Family! *** Good issue! Typescript Issue or pull request is *only* related to TypeScript definition

Comments

@SSpinelli
Copy link

Describe the bug

When trying to use the InportOtp with the Sample example. I always get errors it feels like it's out of sync, when the CustomInput has no type error the InputOtp does, and vice versa. This behavior is seen in the stack blitz for the sample.

image

I got the same behavior in my code.

Reproducer

https://stackblitz.com/run?file=src%2FApp.tsx

PrimeReact version

10.6.6

React version

18.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

Chrome

Steps to reproduce the behavior

No response

Expected behavior

No response

@SSpinelli SSpinelli added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jun 17, 2024
@SSpinelli SSpinelli changed the title InputOtp: Type not Working InputOtp: Type not Working with Sample Template Jun 17, 2024
@melloware melloware added Type: Bug Issue contains a defect related to a specific component. 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 Type: Bug Issue contains a defect related to a specific component. labels Jun 17, 2024
@melloware
Copy link
Member

OK updated this to a typescript issue. I think the code is OK its the TypeDef that must be wrong.

@melloware melloware added the good first issue *** Welcome to PrimeReact Family! *** Good issue! label Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue *** Welcome to PrimeReact Family! *** Good issue! Typescript Issue or pull request is *only* related to TypeScript definition
Projects
None yet
Development

No branches or pull requests

2 participants