primefaces / primeng

The Most Complete Angular UI Component Library
https://primeng.org
Other
10.63k stars 4.63k forks source link

Component: Loading propertie does not works on <button> tag, only on <p-button> #12582

Open RichardCar opened 1 year ago

RichardCar commented 1 year ago

Describe the bug

when uses loading propertie on

ridy01-backup commented 1 year ago

Did you try it on PrimeNG 15.1.1?

Ali-Aljundi commented 1 year ago

using the previous version fixes this issue for now

BeGj commented 1 year ago

I have the same problem. It works for p-button component but not for the pButton directive. It previously worked on primeng and angular 14. Currrently tested on primeng 15.4.1 and angular 15.2.8.

The loading icon keeps spinning even if the property was initiated as false and never changed.

Edit: in a standalone component, normal zonejs, and onPush change detection.