Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

ProductBarcode: BarcodeModal: launch search on "Return" key

Crumb Owlb5d13380feb6
diff --git a/frontend/components/Item/BarcodeModal.vue b/frontend/components/Item/BarcodeModal.vue
index d9462f77..eb69b08c 100644
--- a/frontend/components/Item/BarcodeModal.vue
+++ b/frontend/components/Item/BarcodeModal.vue
@@ -11,6 +11,7 @@
class="w-[30%]"
:model-value="barcode"
:label="$t('components.item.product_import.barcode')"
+ @keyup.enter="retrieveProductInfo(barcode)"
/>
<Button
:variant="searching ? 'destructive' : 'default'"