diff --git a/packages/nc-gui/components/project/spreadsheet/components/editColumn.vue b/packages/nc-gui/components/project/spreadsheet/components/editColumn.vue index 5d673f4503..0dc93c22d4 100644 --- a/packages/nc-gui/components/project/spreadsheet/components/editColumn.vue +++ b/packages/nc-gui/components/project/spreadsheet/components/editColumn.vue @@ -654,7 +654,9 @@ export default { focusInput() { setTimeout(() => { if (this.$refs.column && this.$refs.column.$el) { - this.$refs.column.$el.querySelector('input').focus() + const el = this.$refs.column.$el.querySelector('input') + el.focus() + el.select() } }, 100) },