Browse Source

fix: Added generic checkbox to checkbox cell

pull/6729/head
Muhammed Mustafa 1 year ago
parent
commit
6923b1b5fe
  1. 6
      packages/nc-gui/components/cell/Checkbox.vue

6
packages/nc-gui/components/cell/Checkbox.vue

@ -96,15 +96,13 @@ useSelectedCellKeyupListener(active, (e) => {
:class="{ 'w-full justify-start': isEditColumnMenu || isGallery || isForm, 'py-2': isEditColumnMenu }"
@click="onClick(true)"
>
<Transition name="layout" mode="out-in" :duration="100">
<component
:is="getMdiIcon(vModel ? checkboxMeta.icon.checked : checkboxMeta.icon.unchecked)"
<NcCheckbox
v-model:checked="vModel"
class="nc-checkbox"
:style="{
color: checkboxMeta.color,
}"
/>
</Transition>
</div>
</div>
</template>

Loading…
Cancel
Save