Skip to content

[Bug Report][3.9.0] v-treeview parents aren't selected if selection is computed property and items are added in futureΒ #21733

@AndreasMietk

Description

@AndreasMietk

Environment

Vuetify Version: 3.9.0
Vue Version: 3.5.17
Browsers: Edge 138.0.0.0
OS: Linux x86_64

Steps to reproduce

  1. Use a computed() with getter/setter for the v-model:selected prop
  2. Add "selected" items to the original array used to as the base for the computed selection
  3. Parents in the three aren't selected

Expected Behavior

  1. Parents should be selected/ in intermediate state

Actual Behavior

  1. Parents are not selected in indeterminate state

Reproduction Link

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

Metadata

Metadata

Assignees

Labels

C: VTreeviewT: bugFunctionality that does not work as intended/expectedT: regressionSomething that used to work but we brokehas workaround

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions