Tree: Search results are not updated when new data is added #15193
Labels
LTS-PORTABLE
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
If the tree is filtered by a search and it's data is updated, the search result won't display the new matching data unless the search term is updated.
Environment
Angular 17 application
Reproducer
https://stackblitz.com/edit/ynxmdk?file=src%2Fapp%2Fdemo%2Ftree-filter-demo.html,src%2Fapp%2Fdemo%2Ftree-filter-demo.ts
Angular version
17
PrimeNG version
17.12.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
10.2.3
Browser(s)
Chrome 123
Steps to reproduce the behavior
Expected behavior
The tree should call the _filter function whenever the given data is updated without updating the search term.
The text was updated successfully, but these errors were encountered: