Skip to content

[Bug Report][3.7.8] VTreeview: Unnecessary console warnings when adding node #20934

@digitalniweb

Description

@digitalniweb

Environment

Vuetify Version: 3.7.8
Vue Version: 3.5.13
Browsers: Firefox 134.0
OS: Windows 10

Steps to reproduce

I don't know if it is a bug, but it looks so. I found it by wanting to change orders and locations of nodes (leafs). But you can't even add a node anywhere but last position (where it doesn't throw the warning). The functionality works, but the warning is thrown, so I don't know what else breaks. I found workaround by adding :key="treeViewKey" to the treeview where treeViewKey is a number which I increment on every change.
The warning:
[Vue warn]: Vuetify error: Multiple nodes with the same ID

Expected Behavior

not throwing warning

Actual Behavior

throws warn [Vue warn]: Vuetify error: Multiple nodes with the same ID

Reproduction Link

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

Metadata

Metadata

Assignees

Labels

C: VListC: VTreeviewE: nestedNested composableP: highThe issue is of high importanceT: bugFunctionality that does not work as intended/expected

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions