diff --git a/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue b/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue index dfba038b27..9e83880227 100644 --- a/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue +++ b/packages/nc-gui/components/smartsheet/column/EditOrAdd.vue @@ -208,6 +208,13 @@ onMounted(() => { emit('add', formState.value) } } + + if (isForm.value && !props.fromTableExplorer) { + setTimeout(() => { + antInput.value?.focus() + antInput.value?.select() + }, 100) + } }) })