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
1- Create a v-treeview component with the following props:
v-model:selected bound to a default selected value.
return-object set to true.
item-value and item-title properties configured.
2- Populate the items prop with nested items.
3-Set a default value in v-model:selected that matches one of the items in the items array.
4-Render the component.
Expected Behavior
The v-treeview should render with the default selected item highlighted, matching the value in v-model:selected.
Actual Behavior
The v-treeview does not show the default selected item as selected. Instead, the v-model:selected value appears to be ignored or improperly processed when return-object is true.
Environment
Vuetify Version: 3.7.6
Vue Version: 3.5.13
Browsers: Chrome 131.0.0.0
OS: Windows 10
Steps to reproduce
1- Create a v-treeview component with the following props:
v-model:selected bound to a default selected value.
return-object set to true.
item-value and item-title properties configured.
2- Populate the items prop with nested items.
3-Set a default value in v-model:selected that matches one of the items in the items array.
4-Render the component.
Expected Behavior
The v-treeview should render with the default selected item highlighted, matching the value in v-model:selected.
Actual Behavior
The v-treeview does not show the default selected item as selected. Instead, the v-model:selected value appears to be ignored or improperly processed when return-object is true.
Reproduction Link
https://play.vuetifyjs.com/#...
The text was updated successfully, but these errors were encountered: