Button | incorrect work with dynamic classes #12456
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
p-button's loading directive sets p-disabled on button, but after loading is set back to false, p-loading and p-disabled stays on button, causing it to not be clickable
Environment
tried it directly in primeng project, not working
Reproducer
No response
Angular version
15
PrimeNG version
15
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
16
Browser(s)
chrome
Steps to reproduce the behavior
go to any p-buttons template, set loading to true, after some time set to false, you will see loading icon dissapear but disabled style will stay
Expected behavior
after loading is done, remove p-loading and p-disabled from buttons styles
The text was updated successfully, but these errors were encountered: