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

RadioButton: class names are not being passed through #6934

Closed
peconomou929 opened this issue Jul 27, 2024 · 0 comments · Fixed by #6935, leoo1992/GeradorQRCode#80 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

@peconomou929
Copy link
Contributor

peconomou929 commented Jul 27, 2024

Describe the bug

When using Pass Through options in the Radio Button, class names do not get passed through to the sub-components (icon, box, and input). This is due to a mismatch between typescript declarations and JavaScript implementation.

PR Fix: #6935

Reproducer

https://stackblitz.com/edit/vitejs-vite-c5ti3f

System Information

primereact: 10.7.0

Steps to reproduce the behavior

Open StackBlitz example in separate browser tab. Open Dev tools. Observe that the specified class names do not appear in the DOM.

Expected behavior

Class names specified in Pass Through options should be passed through to the sub-components.

@peconomou929 peconomou929 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jul 27, 2024
@melloware melloware added Component: Unstyled Issue related to unstyled/passthrough attributes and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jul 27, 2024
@melloware melloware added this to the 10.7.1 milestone Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment