mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
681 B
27 lines
681 B
12 months ago
|
<script lang="ts" setup>
|
||
|
const props = defineProps<{
|
||
|
value: any
|
||
|
}>()
|
||
|
const emits = defineEmits(['update:value'])
|
||
|
|
||
|
const vModel = useVModel(props, 'value', emits)
|
||
|
|
||
|
const cdfValue = computed({
|
||
|
get: () => vModel.value.cdf,
|
||
|
set: (value) => {
|
||
|
vModel.value.cdf = value
|
||
|
},
|
||
|
})
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<div>
|
||
|
<div class="!my-3 text-xs">{{ $t('placeholder.defaultValue') }}</div>
|
||
|
<div class="flex flex-row gap-2">
|
||
|
<div class="border-1 relative pt-12 flex items-center w-full px-0 my-[-4px] border-gray-300 rounded-md !max-h-70">
|
||
|
<LazyCellRichText v-model:value="cdfValue" class="ml-3 my-2" show-menu full-mode />
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</template>
|