diff --git a/packages/nc-gui-v2/composables/useColumnCreateStore.ts b/packages/nc-gui-v2/composables/useColumnCreateStore.ts index 50328a7b0e..b384e9f6d7 100644 --- a/packages/nc-gui-v2/composables/useColumnCreateStore.ts +++ b/packages/nc-gui-v2/composables/useColumnCreateStore.ts @@ -33,6 +33,7 @@ const [useProvideColumnCreateStore, useColumnCreateStore] = createInjectionState const formState = ref>>({ title: 'title', uidt: UITypes.SingleLineText, + meta: {}, ...(column || {}), }) @@ -92,7 +93,7 @@ const [useProvideColumnCreateStore, useColumnCreateStore] = createInjectionState const colProp = sqlUi?.value.getDataTypeForUiType(formState?.value as any, idType as any) formState.value = { ...formState.value, - meta: null, + meta: {}, rqd: false, pk: false, ai: false,