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

TreeSelect: expandedKeys not working #5967

Open
AericN opened this issue Jun 25, 2024 · 0 comments
Open

TreeSelect: expandedKeys not working #5967

AericN opened this issue Jun 25, 2024 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@AericN
Copy link

AericN commented Jun 25, 2024

Describe the bug

When passing 'expandedKeys' to TreeSelect it doesn't expand the specified key. I pass the data as expandedKeys="{'1':true}". This functionality works when the component is a Tree but not as TreeSelect. Is there a different way to do it?

Reproducer

https://stackblitz.com/edit/cynavd-c9cvw9?file=src%2FApp.vue

PrimeVue version

3.50.0

Vue version

3.x

Language

ES6

Build / Runtime

Vite

Browser(s)

Chrome Version 126.0.6478.116

Steps to reproduce the behavior

Create TreeSelect component > try to set expandedKeys field

Expected behavior

When setting the expandedKeys field on a TreeSelect component the specified key should be expanded.

@AericN AericN added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant