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 unstyled is not working correctly #6964

Closed
melloware opened this issue Aug 1, 2024 · 0 comments · Fixed by #6965 or leoo1992/GeradorQRCode#85 · May be fixed by mtech-31-quemistry/quemistry_client_web#20
Closed

InputOTP unstyled is not working correctly #6964

melloware opened this issue Aug 1, 2024 · 0 comments · Fixed by #6965 or leoo1992/GeradorQRCode#85 · May be fixed by mtech-31-quemistry/quemistry_client_web#20
Assignees
Labels
Component: Unstyled Issue related to unstyled/passthrough attributes
Milestone

Comments

@melloware
Copy link
Member

Discussed in https://github.com/orgs/primefaces/discussions/2423

Originally posted by ManoLuuL July 30, 2024
Using the InputOTP with unstyled enabled, after updating the package to a new version, I lost my styling. This is due to typing issues because when I pass my styling with "as InputOtpPassThroughOptions", it is correctly applied to the component again. This is because the component does not recognize the path input -> root that the typing InputOtpPassThroughOptions requires.

Using according to the typing
image

using "as InputOtpPassThroughOptions"
image
image

@melloware melloware transferred this issue from primefaces/community Aug 1, 2024
@melloware melloware added the Component: Unstyled Issue related to unstyled/passthrough attributes label Aug 1, 2024
@github-actions github-actions bot added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 1, 2024
melloware added a commit to melloware/primereact that referenced this issue Aug 1, 2024
@melloware melloware removed the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 1, 2024
@melloware melloware self-assigned this Aug 1, 2024
@melloware melloware added this to the 10.8.1 milestone Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment