diff --git a/packages/nc-gui-v2/pages/project/index/create-external.vue b/packages/nc-gui-v2/pages/project/index/create-external.vue index 1fc60ae6bd..200a2b0fb2 100644 --- a/packages/nc-gui-v2/pages/project/index/create-external.vue +++ b/packages/nc-gui-v2/pages/project/index/create-external.vue @@ -77,7 +77,7 @@ const configEditDlg = ref(false) // populate database name based on title watch( () => formState.title, - (v) => (formState.dataSource.connection.database = `${v}_noco`), + (v) => (formState.dataSource.connection.database = `${v?.trim()}_noco`), ) // generate a random project title @@ -288,7 +288,7 @@ onMounted(() => { - + @@ -333,18 +333,18 @@ onMounted(() => { - + {{ type }} - + {{ type }}
- + {{ $t('activity.editConnJson') }} @@ -355,8 +355,8 @@ onMounted(() => {
- Submit Test Connection + Submit
@@ -375,10 +375,18 @@ onMounted(() => { } :deep(.ant-collapse-content-box) { - @apply !pr-0; + @apply !px-0; } :deep(.ant-form-item-explain-error) { @apply !text-xs; } + +:deep(.ant-form-item) { + @apply mb-2; +} + +:deep(.ant-form-item-with-help .ant-form-item-explain) { + @apply !min-h-0; +}