From f858064d66356b2cfb6c2176aa2b60f33493a7b9 Mon Sep 17 00:00:00 2001 From: Daniel Spaude Date: Mon, 20 Feb 2023 18:10:00 -0500 Subject: [PATCH] code scanner for forms - WIP --- .../nc-gui/pages/[projectType]/form/[viewId]/index/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/nc-gui/pages/[projectType]/form/[viewId]/index/index.vue b/packages/nc-gui/pages/[projectType]/form/[viewId]/index/index.vue index 633a3d1fc9..a78c81a89f 100644 --- a/packages/nc-gui/pages/[projectType]/form/[viewId]/index/index.vue +++ b/packages/nc-gui/pages/[projectType]/form/[viewId]/index/index.vue @@ -41,7 +41,8 @@ const onDecode = async (codeValue: string) => { } try { showCodeScannerOverlay.value = false - alert(`you scanned "${codeValue}"`) + // formColumns.value[1]. + formState.value[fieldTitleForCurrentScan.value] = codeValue } catch (error) { console.error(error) }