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

Open
@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

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions