primefaces / primeng

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

Component: TreeSelect pTemplate default with pTemplate itemtoggleicon does'nt work together #16635

Open syluna opened 1 month ago

syluna commented 1 month ago

Describe the bug

Setup treeSelect component basic (sample on official primeng 17.x doc) When set default template for node this works: image

When I add itemtogglericon template with default template for node. Default template is not apply : image

Environment

Angular 18 Node 22 PrimeNG 17

Reproducer

https://stackblitz.com/edit/uykktl?embed=1&file=src%2Fapp%2Ftree-select-basic-demo.html

Angular version

18.0.2

PrimeNG version

17.18.11

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

22.9.0

Browser(s)

Chrome 130, Edge, Firefox

Steps to reproduce the behavior

No response

Expected behavior

Template of itemtogglericon apply with the default node too.

github-actions[bot] commented 5 days ago

Due to PrimeNG team's busy roadmap, this issue is available for anyone to work on. Make sure to reference this issue in your pull request. :sparkles: Thank you for your contribution! :sparkles: