Browse Source

fix: decimal options meta issue

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/6953/head
mertmit 12 months ago
parent
commit
7da85b5379
  1. 6
      packages/nc-gui/components/smartsheet/column/DecimalOptions.vue

6
packages/nc-gui/components/smartsheet/column/DecimalOptions.vue

@ -34,7 +34,11 @@ onMounted(() => {
<template>
<a-form-item :label="$t('placeholder.precision')">
<a-select v-model:value="vModel.meta.precision" dropdown-class-name="nc-dropdown-decimal-format">
<a-select
v-if="vModel.meta?.precision"
v-model:value="vModel.meta.precision"
dropdown-class-name="nc-dropdown-decimal-format"
>
<a-select-option v-for="(format, i) of precisionFormats" :key="i" :value="format">
<div class="flex flex-row items-center">
<div class="text-xs">

Loading…
Cancel
Save