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 1 year 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 updateCdfValue = (cdf: string | null) => {
vModel.value.cdf = cdf
cdfValue.value = vModel.value.cdf
vModel.value = { ...vModel.value, cdf }
cdfValue.value = cdf
}
onMounted(() => {

Loading…
Cancel
Save