You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
onScan.attachTo(document, {
suffixKeyCodes: [13], // enter-key expected at the end of a scan
reactToPaste: true, // Compatibility to built-in scanners in paste-mode (as opposed to keyboard-mode)
onScan: function (sCode, iQty) { // Alternative to document.addEventListener('scan')
console.log('Scanned: ' + iQty + 'x ' + sCode);
if(sCode!=undefined){
this.itemInfoFg.controls.barCode.patchValue(sCode);
this.onChangeBardCode();
}
},
onKeyDetect: function (iKeyCode) { // output all potentially relevant key events - great for debugging!
console.log('Pressed: ' + iKeyCode);
},
});
The text was updated successfully, but these errors were encountered:
Hi @raju010193
Maybe this is an object onScan not yours object? Try with other reference to your object? If it's not help I don't know what other can fix it.
The text was updated successfully, but these errors were encountered: