TreeSelect: style and type attribute of TreeNode API doesn't work #11761
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
While using TreeSelect, the style and type attributes of TreeNode don't work.
I have this in my HTML template:
<p-treeSelect > <ng-template let-node pTemplate="temp"> TEMP ITEM </ng-template> </p-treeSelect>
and these attributes on each item:
"type": "temp", "style": "color:red;",
and also this is stack blitz sample.
It would be great if anyone can suggest me a workaround for this.
Environment
Primeng 13.4.1
Reproducer
https://stackblitz.com/edit/primeng-treeselect-demo-2a1e1f?file=src/app/app.component.html
Angular version
13.3.2
PrimeNG version
13.4.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
16.16.0
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: