Vuetify: [Bug Report] Initial selection is not loaded in Treeview

Created on 23 Aug 2019  路  1Comment  路  Source: vuetifyjs/vuetify

Environment

Vuetify Version: 2.0.9
Vue Version: 2.6.10
Browsers: Chrome 76.0.3809.100
OS: Windows 10

Steps to reproduce

  • Open the codepen

Expected Behavior

Item "One" should be selected in the UI, as it's available in data.

Actual Behavior

Item "One" is not selected in the UI.

Reproduction Link

https://codepen.io/Toilal/pen/vYBgaeB

Other comments

If something change the selection after it's creation, everything is working properly.

VTreeview has PR bug

Most helpful comment

My current workaround

  mounted () {
    const selection = clone(this.selection)
    this.selection = selection
  }

>All comments

My current workaround

  mounted () {
    const selection = clone(this.selection)
    this.selection = selection
  }
Was this page helpful?
0 / 5 - 0 ratings

Related issues

noorzaie picture noorzaie  路  38Comments

thearabbit picture thearabbit  路  31Comments

DeepDiver1975 picture DeepDiver1975  路  32Comments

stygmate picture stygmate  路  65Comments

Neo888888 picture Neo888888  路  76Comments