1
0
mirror of https://gitlab.com/bramw/baserow.git synced 2024-11-25 00:46:46 +00:00
bramw_baserow/web-frontend/modules/database/components/view/grid/fields/FunctionalGridViewFieldMultipleSelect.vue
2024-09-26 15:40:52 +00:00

17 lines
512 B
Vue

<template functional>
<div ref="cell" class="grid-view__cell grid-field-many-to-many__cell">
<div class="grid-field-many-to-many__list grid-field-multiple-select__list">
<div
v-for="item in props.value"
:key="item.id"
class="grid-field-multiple-select__item"
:class="'background-color--' + item.color"
>
<div v-if="props.value" class="grid-field-many-to-many__name">
{{ item.value }}
</div>
</div>
</div>
</div>
</template>