DmScannerInput

Updated Aug 18, 2026
DataMagik Application Designer

DmScannerInput

DmScannerInput — the platform's `scanner` field.

When not to use it. For typed entry, use DmInput. This one expects a scan.

States

default

DmScannerInput — default, light theme DmScannerInput — default, dark theme

Example

<DmScannerInput />

Props

NameTypeRequiredDefault
modelValuestring''
labelstringundefined
placeholderstringundefined
helpstringundefined
errorstringundefined
idstringundefined
requiredbooleanfalse
disabledbooleanfalse
labelHiddenbooleanfalse
scan() => Promise<{ value: string | null; cancelled?: boolean }>undefined
rfidEnabledbooleanfalse
readRfid() => Promise<{ value: string | null; cancelled?: boolean }>undefined
autoClearbooleantrue
autofocusbooleantrue
submitDelaynumber0
fastGapMsnumber35
minLengthnumber3

Events

camera, scan-error, scanned, update:modelValue

Worth knowing

A scan gun is a fast keystroke burst, not a camera — the keyboard-wedge path is a genuinely different input mode and is detected by inter-key timing.

Was this page helpful?