From 51954f147273b38b70473871ee77c3f2dab55384 Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Fri, 29 Dec 2023 12:24:13 +0530 Subject: [PATCH] fix: form submit button focus css issue --- .../index/[typeOrId]/form/[viewId]/index/index.vue | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/pages/index/[typeOrId]/form/[viewId]/index/index.vue b/packages/nc-gui/pages/index/[typeOrId]/form/[viewId]/index/index.vue index ee1ee5afee..8d6d6796a8 100644 --- a/packages/nc-gui/pages/index/[typeOrId]/form/[viewId]/index/index.vue +++ b/packages/nc-gui/pages/index/[typeOrId]/form/[viewId]/index/index.vue @@ -3,7 +3,7 @@ import type { ColumnType } from 'nocodb-sdk' import { RelationTypes, UITypes, isVirtualCol } from 'nocodb-sdk' import { ref } from 'vue' import { StreamBarcodeReader } from 'vue-barcode-reader' -import { iconMap, useSharedFormStoreOrThrow } from '#imports' +import { iconMap, useGlobal, useSharedFormStoreOrThrow } from '#imports' const { sharedFormView, submitForm, v$, formState, notFound, formColumns, submitted, secondsRemain, isLoading } = useSharedFormStoreOrThrow() @@ -21,6 +21,7 @@ function isRequired(_columnObj: Record, required = false) { return !!(required || (columnObj && columnObj.rqd && !columnObj.cdf)) } +const { isMobileMode } = useGlobal() const fieldTitleForCurrentScan = ref('') const scannerIsReady = ref(false) @@ -68,7 +69,13 @@ const onDecode = async (scannedCodeValue: string) => {