Just starting out with vuetify and I'm looking for help on how to set a specific value for a v-chip in my table.
<v-data-table
class="page__table"
:headers="headers"
:items="references"
>
<v-chip
v-for="reference in references"
:key="reference.id"
:color="color"
> {{reference.department}}
</v-chip>
This is the code I have (using composition API)
const mappedCatalog: ComputedRef<Record<string, any>> = computed(() => catalogStore.fullCatalog.map(reference => {
return {
...reference,
departments: reference.departments
return {
references: ref(mappedCatalog),
Any assistance would be greatly appreciated. Thank you!