Browse Source

fix: escape single quote properly and update default value by overriding the col object

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/7197/head
Pranav C 12 months ago
parent
commit
035fdf41a1
  1. 4
      packages/nc-gui/components/smartsheet/column/DefaultValue.vue

4
packages/nc-gui/components/smartsheet/column/DefaultValue.vue

@ -27,8 +27,8 @@ const cdfValue = ref<string | null>(null)
const editEnabled = ref(false) const editEnabled = ref(false)
const updateCdfValue = (cdf: string | null) => { const updateCdfValue = (cdf: string | null) => {
vModel.value.cdf = cdf vModel.value = { ...vModel.value, cdf }
cdfValue.value = vModel.value.cdf cdfValue.value = cdf
} }
onMounted(() => { onMounted(() => {

Loading…
Cancel
Save