I'm submitting a ... (check one with "x")
[x] bug report
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.
https://stackblitz.com/edit/angular-zsuen9
Current behavior
When you use a p-button component and give it the attribute [disabled]=true, the button still works in Google Chrome, but in Firefox it is really disabled
Expected behavior
The button does nothing on all browsers when it has the disabled attribute.
Minimal reproduction of the problem with instructions
I posted a Stackblitz link where you can experience the same issue.
Browser: [Chrome 65.0.3325.181 ]
Language: [TypeScript 2.3]
If you use p-button component then right attribute is onClick (instead of click). See the documentation of the button component (chapter Properties of p-button) https://www.primefaces.org/primeng/#/button
Aw ! I missed it ! Sorry for posting this as a bug !
Thank you very much @jupin-r :)
@cagataycivici Could you close it?
Most helpful comment
If you use p-button component then right attribute is onClick (instead of click). See the documentation of the button component (chapter Properties of p-button) https://www.primefaces.org/primeng/#/button