mirror of https://github.com/nocodb/nocodb
Muhammed Mustafa
1 year ago
4 changed files with 32 additions and 1 deletions
@ -0,0 +1,26 @@
|
||||
<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> |
Loading…
Reference in new issue