primeng icon indicating copy to clipboard operation
primeng copied to clipboard

P-button is missing InputId attribute

Open MosheMoualem opened this issue 8 years ago • 1 comments

There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeNG PRO Support where support is provided within 4 business hours

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

[ ] bug report => Search github for a similar issue or PR before submitting
[ ] 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

Plunkr Case (Bug Reports) Please fork the plunkr below and create a case demonstrating your bug report. Issues without a plunkr have much less possibility to be reviewed.

http://plnkr.co/edit/Nxca3ovCbtvx9kpGds0q?p=preview

Current behavior

The button component is missing InputId attrtibute, So there is no possibility to put an Id on the internal label (span)

Expected behavior

a way to add an id for internal span using for label

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • Angular version: 5.0.2
  • PrimeNG version: 5.0.2
  • Browser: [Chrome ]
  • Language: [all | TypeScript X.X | ES6/7 | ES5]

  • Node (for AoT issues): node --version =

MosheMoualem avatar Mar 11 '18 11:03 MosheMoualem

p-button is a custom element, you can use id property on it.

cagataycivici avatar Jun 08 '18 06:06 cagataycivici