p-tree: Unselectable children is selected when selecting parent #16430
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
If a node with a disabled children is selected and propagateSelectionDown is true by default, then the unselectable children are selected, without possibility to unselect them.
Enregistrement.de.l.ecran.2024-09-25.a.11.48.00.mov
Environment
Angular ^17.3.6 / PrimeNG ^17.18.0
Reproducer
https://stackblitz.com/edit/github-fos6jj?file=src%2Fapp%2Fapp.component.ts
Angular version
^17.3.6
PrimeNG version
^17.18.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.20.3
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
Unselectable treenode should be unselectable, even when selecting parent node
The text was updated successfully, but these errors were encountered: