Hey there, I've been exploring the v-edit-dialog component offered by Vuetify and had a query about its implementation. Currently, I'm structuring my v-data-table in a way where I'm importing a component with props into a template slot. The official documentation at this link suggests that the data table should be rendered directly as shown in this example.
Now, I'm uncertain of how to get the v-edit-dialog functionality to work using my method.
Below is a snippet of what my code currently looks like:
<template>
<v-data-table>
<template v-slot:items="props">
<my-component
:protein="props.item.protein"
:carbs="props.item.carbs"
:fats="props.item.fats"
:iron="props.item.iron"/>
</template>
<v-data-table>
</template>
Apologies for not being able to provide a reproducible scenario, but any insights you can offer would be greatly appreciated. Thank you!