|
|
|
@ -3,7 +3,7 @@ import { onMounted } from '@vue/runtime-core'
|
|
|
|
|
import type { ColumnType, LinkToAnotherRecordType, TableType } from 'nocodb-sdk' |
|
|
|
|
import { UITypes, isSystemColumn, isVirtualCol } from 'nocodb-sdk' |
|
|
|
|
import { getRelationName } from './utils' |
|
|
|
|
import { MetaInj, inject, ref, useColumnCreateStoreOrThrow, useMetas, useProject, useVModel } from '#imports' |
|
|
|
|
import { MetaInj, inject, ref, storeToRefs, useColumnCreateStoreOrThrow, useMetas, useProject, useVModel } from '#imports' |
|
|
|
|
|
|
|
|
|
const props = defineProps<{ |
|
|
|
|
value: any |
|
|
|
@ -17,7 +17,7 @@ const meta = $(inject(MetaInj, ref()))
|
|
|
|
|
|
|
|
|
|
const { setAdditionalValidations, validateInfos, onDataTypeChange, isEdit } = useColumnCreateStoreOrThrow() |
|
|
|
|
|
|
|
|
|
const { tables } = $(useProject()) |
|
|
|
|
const { tables } = $(storeToRefs(useProject())) |
|
|
|
|
|
|
|
|
|
const { metas } = $(useMetas()) |
|
|
|
|
|
|
|
|
|