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
Maybe some debug line was released in the code? I don't see the same behavior in v15 or v17. It's currently observable on the demo page for p-tree: https://www.primefaces.org/primeng-v16-lts/tree
Notice child node counts are in the labels of every example shown. This isn't an intended feature as far as I can tell looking at the documentation pages.
Expected behavior
Child node counts shouldn't be automatically added to tree labels. This is especially problematic for lazy loaded trees.
A workaround seems to be to override the default template to just show the label. Ex:
It has been over two months, and noone has even answered? And the bug is clearly visible in every single case on the documentation page, so it is still present in latest 16.9.7-lts. The fix is probably as simple as modifying one line of code, come on. @dnordahl1 Thanks for the workaround suggestion.
So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you open a new issue so we can include it in our roadmap?
Thanks a lot for your understanding!
Best Regards,
Describe the bug
Maybe some debug line was released in the code? I don't see the same behavior in v15 or v17. It's currently observable on the demo page for p-tree: https://www.primefaces.org/primeng-v16-lts/tree
This isn't the case for v15 or v17.
Environment
N/A
Reproducer
https://stackblitz.com/edit/krqvgj
Angular version
16.2.0
PrimeNG version
16.9.4-lts
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.18.0
Browser(s)
ALL
Steps to reproduce the behavior
Expected behavior
Child node counts shouldn't be automatically added to tree labels. This is especially problematic for lazy loaded trees.
A workaround seems to be to override the default template to just show the label. Ex:
The text was updated successfully, but these errors were encountered: