Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug Report][3.7.0] VTreeview opened prop does not work when combined with return-object #20350

Closed
jelle-eastground opened this issue Aug 16, 2024 · 1 comment

Comments

@jelle-eastground
Copy link

jelle-eastground commented Aug 16, 2024

Environment

Vuetify Version: 3.7.0
Last working version: 3.6.15
Vue Version: 3.4.38
Browsers: Firefox 129.0
OS: Windows 10

Steps to reproduce

Load the example in de reproduction link. The opened prop is initially filled with some item id's (or even item objects when the opened prop value is changed to opened_by_items).

Expected Behavior

A tree with 'Documents', 'vuetify' and 'src' initially opened.

Actual Behavior

All nodes are initially closed.

Reproduction Link

https://play.vuetifyjs.com/#...

Other comments

Even when return-object is used, I expect that I can use item id's in an array as value for the opened prop. When using a v-model:opened combined with return-object, the v-model:opened is filled with complete objects. Even when I use those item objects in the opened prop, those nodes are not opened. This can be verified by using :opened="opened_by_items" in the example of the reproduction link.

This issue is related: #19414

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants