p-button style property doesn't work at all #8184
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ...
Plunkr Case (Bug Reports)
https://stackblitz.com/edit/github-dnh5qe?file=src/app/app.component.html
Current behavior
Cannot change styles of an element using
style
property ofp-button
.Expected behavior
Should be possible to change styles using
style
property ofp-button
just as e.g.overlayPanel
.Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Property is listed in documentation but its implementation is flawed. It's not possible to easily dynamically change styles of a
button
insidep-button
.Angular version: 7.2.3
PrimeNG version: 7.1.3, also checked on newest
Browser: all
The text was updated successfully, but these errors were encountered: