Skip to content
New issue

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

Feat: Tree: Auto expand filtered TreeNodes #6244

Conversation

superkensington
Copy link

Requested in #3996

Updates Tree component with watcher on filterValue that automatically sets expanded nodes based on filter value length. Minimum threshold of 3 characters used when expanding nodes due to poor performance in large trees, although this could alternatively use the number of filtered nodes instead of filter value length as a threshold value. Filter of length >= 3 characters expands tree to all filtered nodes; otherwise, expands to all selected nodes.

Copy link

vercel bot commented Aug 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
primevue ⬜️ Ignored (Inspect) Visit Preview Aug 17, 2024 4:40am
primevue-v3 ⬜️ Ignored (Inspect) Visit Preview Aug 17, 2024 4:40am

@tugcekucukoglu
Copy link
Member

This is something we need to discuss. For example, why is there a 3-character limit? There is definitely a need for more community demand here.

For enhancement requests and other topics, you can open a new topic in PrimeVue discussions.

Thanks for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants