You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue occurs with PrimeNG 18 and Angular 18.2 as well as with PrimeNG 19 and Angular 19.1. I have provided a Stackblitz for PrimeNG 19 and Angular 19.1.
Angular version
19.1.5
PrimeNG version
v19
Node version
No response
Browser(s)
No response
Steps to reproduce the behavior
Go to Stackblitz.
Check app.component.ts: Node "Node with styleClass" has a styleClass property
Check running app: the styleClass is not attached to the li-Element of the tree node
Expected behavior
The li-Element of the tree node should have the style class that was defined in the styleClass property.
The text was updated successfully, but these errors were encountered:
Describe the bug
The styleClass property of tree nodes is ignored and not added to the li element. This is a regression and worked in PrimeNG 17 and before.
Pull Request Link
#17580
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://stackblitz.com/edit/github-eps8r4ln-ogkppwd5
Environment
See Stackblitz.
The issue occurs with PrimeNG 18 and Angular 18.2 as well as with PrimeNG 19 and Angular 19.1. I have provided a Stackblitz for PrimeNG 19 and Angular 19.1.
Angular version
19.1.5
PrimeNG version
v19
Node version
No response
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
The li-Element of the tree node should have the style class that was defined in the styleClass property.
The text was updated successfully, but these errors were encountered: