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

efootstep picture efootstep  路  3Comments

sebastianmacias picture sebastianmacias  路  3Comments

chriswa picture chriswa  路  3Comments

milleraa picture milleraa  路  3Comments

Webifi picture Webifi  路  3Comments