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 11 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 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