We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When try to use template on p-tree, didn't use the template to display, like use the datas from [value]
<div *ngIf="isContextMenuVisible && workspaceList"> <p-tree [value]="files" class="w-full md:w-30rem p-treeselect-panel" (onNodeContextMenuSelect)="onContextMenuSelect($event)" (onNodeSelect)="onSelect($event)" (onNodeUnselect)="onUnselect($event)" [loading]="loading" selectionMode="{{selectionMode?'checkbox':'single'}}" [filter]="true" [(selection)]="selectedFile" [contextMenu]="cm"> <ng-template let-node pTemplate="default"> <span [pTooltip]="node.label" tooltipPosition="top">{{ node.label | slice:0:10 }}</span> </ng-template> </p-tree> <p-contextMenu #cm [model]="selectedFileContextMenu" appendTo="body"></p-contextMenu> </div>
when i open subcategories, the data is coming from list, without use ng-template
No response
17.0.5
17.12.0
Angular CLI App
ALL
9.8.1
chrome
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When try to use template on p-tree, didn't use the template to display, like use the datas from [value]
Environment
when i open subcategories, the data is coming from list, without use ng-template
Reproducer
No response
Angular version
17.0.5
PrimeNG version
17.12.0
Build / Runtime
Angular CLI App
Language
ALL
Node version (for AoT issues node --version)
9.8.1
Browser(s)
chrome
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: