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/7173/head
Pranav C 9 months ago committed by Ramesh Mane
parent
commit
15aa3dad45
  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