Browse Source

code scanner for forms - WIP

pull/5114/head
Daniel Spaude 2 years ago
parent
commit
f858064d66
No known key found for this signature in database
GPG Key ID: 654A3D1FA4F35FFE
  1. 3
      packages/nc-gui/pages/[projectType]/form/[viewId]/index/index.vue

3
packages/nc-gui/pages/[projectType]/form/[viewId]/index/index.vue

@ -41,7 +41,8 @@ const onDecode = async (codeValue: string) => {
} }
try { try {
showCodeScannerOverlay.value = false showCodeScannerOverlay.value = false
alert(`you scanned "${codeValue}"`) // formColumns.value[1].
formState.value[fieldTitleForCurrentScan.value] = codeValue
} catch (error) { } catch (error) {
console.error(error) console.error(error)
} }

Loading…
Cancel
Save