You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QTree expand/collapse functionality doesn't work in some cases. For example if tree model is dynamicaly created. The reason for this is an error in quasar/src/components/tree/TreeItem.vue
Vue framework doesn't allow to change props inside component this.model.expanded = !this.model.expanded -- not correct
Therefore it is needed add
data: function () {
return { expanded: this.model.expanded }
}
And then use expanded instead of model.expanded
The text was updated successfully, but these errors were encountered:
QTree expand/collapse functionality doesn't work in some cases. For example if tree model is dynamicaly created. The reason for this is an error in quasar/src/components/tree/TreeItem.vue
Vue framework doesn't allow to change props inside component
this.model.expanded = !this.model.expanded
-- not correctTherefore it is needed add
And then use
expanded
instead ofmodel.expanded
The text was updated successfully, but these errors were encountered: