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

In Checkbox and RadioButton add for attribute in label #3617

Closed
rferrerasm opened this issue Aug 9, 2017 · 0 comments
Closed

In Checkbox and RadioButton add for attribute in label #3617

rferrerasm opened this issue Aug 9, 2017 · 0 comments
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@rferrerasm
Copy link

I'm submitting a ... (check one with "x")

[ ] bug report => Search github for a similar issue or PR before submitting
[x] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Current behavior

If a Checkbox or Radiobutton has label and inputId, a label element is created but it doesn't have the for attribute filled.

Expected behavior

When a Checkbox or Radiobutton has both label and inputId, the generated label should have the for attribute pointing to the input element.

  • PrimeNG version: 4.1.2
@cagataycivici cagataycivici self-assigned this Aug 10, 2017
@cagataycivici cagataycivici added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Aug 10, 2017
@cagataycivici cagataycivici added this to the 4.1.3 milestone Aug 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

2 participants