Vuetify: 0.17.7
Vue: 2.5.13
Browsers: Chrome 63.0.3239.132
OS: Windows 7
1) Create a data-table with slots for no-data, no-results, header, items, and expand
2) Set an @click event to toggle the props.expanded value of the table
3) Create a row within the "expand" slot with extra data
4) Attempt to expand the row
The row expands, displaying the content within the "expand" slot.
props.expanded is toggled correctly, but the expanded content is not rendered.
https://codepen.io/chris0lsen/pen/JpGOOx?editors=1111
Vue throws the following error in the console:
"[Vue warn]: <transition-group> children must be keyed: <div>"
EDIT: markdown was hiding the html element names in the pasted error message
Inspecting with Vue Devtools shows a transition-group with {appear:false} in each row.
Also, the data-table's data has a property called "expanded" with a default value of {}, which changes to a value of {"undefined":true} when "props.expanded" is toggled - but changing this to either true or false doesn't seem to have an effect.
You've specified the item-key to be value but that property does not exist on the item you pass to the table. Switch it to foo, bar, ex_foo or ex_bar and it will work.
Most helpful comment
You've specified the
item-keyto bevaluebut that property does not exist on the item you pass to the table. Switch it tofoo,bar,ex_fooorex_barand it will work.