Optimized product picker barcode clear handling (fixes #2745)

This commit is contained in:
Bernd Bestel
2025-05-26 20:20:40 +02:00
parent d6f3595684
commit 8560becb83
4 changed files with 4 additions and 3 deletions

View File

@@ -32,6 +32,7 @@ Grocy.Components.ProductPicker.Clear = function()
{
Grocy.Components.ProductPicker.SetValue('');
Grocy.Components.ProductPicker.SetId(null);
$('#product_id').attr("barcode", "null");
}
Grocy.Components.ProductPicker.InProductAddWorkflow = function()