Hello,
We are using the p-tree component with new filter option. (We really like this new feature)
When typing a value in the filter, the nodeSelect method and selection property doesn't point to the selected node but to the first node in the tree.
When making the filter empty, the node selection works again.
I've made a testcase here https://stackblitz.com/edit/github-pw4fpt
Can this be fixed ?
Kind regards
Luc De pauw
P-tree with filter, nodeSelect and selection doesn't show slected node but root or first node in tree model
-
- Posts: 7
- Joined: 22 May 2018, 15:05
Yes, I have the same problem. have you found a solution perhaps?
Found similar problem in the github issues -> https://github.com/primefaces/primeng/issues/7397
Solution is to provide a key in each node.
I've updated my stackblitz example -> https://stackblitz.com/edit/github-pw4fpt
Solution is to provide a key in each node.
I've updated my stackblitz example -> https://stackblitz.com/edit/github-pw4fpt
-
- Posts: 27
- Joined: 18 Jun 2018, 14:52
I put an issue to resolve this problem https://github.com/primefaces/primereact/issues/2372
-
- Information
-
Who is online
Users browsing this forum: Google [Bot] and 20 guests