Fixed shopping list item form product barcode scan handling (fixes #1940)

This commit is contained in:
Bernd Bestel
2022-07-12 19:00:40 +02:00
parent b57ba59243
commit 8cb9157c73
4 changed files with 5 additions and 2 deletions

View File

@@ -61,6 +61,7 @@
@php if($mode == 'edit') { $productId = $listItem->product_id; } else { $productId = ''; } @endphp
@include('components.productpicker', array(
'products' => $products,
'barcodes' => $barcodes,
'nextInputSelector' => '#amount',
'isRequired' => true,
'prefillById' => $productId,