From 91c937a77d84ae5bb45c935fec6ee54a58a03f29 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Sat, 2 Mar 2024 07:32:42 +0000 Subject: [PATCH] fix(nc-gui): remove auto focus form title on mount --- packages/nc-gui/components/smartsheet/Form.vue | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/Form.vue b/packages/nc-gui/components/smartsheet/Form.vue index 5aad2f622c..930e64dbe2 100644 --- a/packages/nc-gui/components/smartsheet/Form.vue +++ b/packages/nc-gui/components/smartsheet/Form.vue @@ -13,7 +13,6 @@ import { isSelectTypeCol, isVirtualCol, } from 'nocodb-sdk' -import type { VNodeRef } from '@vue/runtime-core' import type { Permission } from '#imports' import { ActiveViewInj, @@ -175,8 +174,6 @@ const imageCropperData = ref<{ const focusLabel = ref() -const focusFormTitle: VNodeRef = (el) => el && activeRow.value === NcForm.heading && (el as HTMLTextAreaElement)?.focus() - const searchQuery = ref('') const { t } = useI18n() @@ -559,8 +556,6 @@ onMounted(async () => { await loadFormView() setFormData() isLoadingFormView.value = false - - activeRow.value = NcForm.heading }) watch(submitted, (v) => { @@ -915,7 +910,6 @@ useEventListener( >