diff --git a/Binner/Binner.Web/ClientApp/src/pages/Inventory.js b/Binner/Binner.Web/ClientApp/src/pages/Inventory.js
index b62c1946..8d94b6bf 100644
--- a/Binner/Binner.Web/ClientApp/src/pages/Inventory.js
+++ b/Binner/Binner.Web/ClientApp/src/pages/Inventory.js
@@ -488,6 +488,7 @@ export function Inventory(props) {
partNumber: cleanPartNumber,
barcode: input.correctedValue
};
+ setInputPartNumber(cleanPartNumber);
fetchBarcodeMetadata(e, scannedPart, (partInfo) => {
// barcode found
// console.log("Barcode info found!", partInfo);
@@ -971,7 +972,7 @@ export function Inventory(props) {
// check if the input looks like a barcode scanner tag, in case it's used when a text input has focus
if (searchPartNumber && typeof control.value === "string" && control.value.includes("[)>")) {
- // console.log('barcode input detected, switching mode');
+ console.log('barcode input detected, switching mode');
enableKeyboardListening();
setKeyboardPassThrough("[)>");
control.value = "";
@@ -1813,7 +1814,7 @@ export function Inventory(props) {