mirror of
https://github.com/grocy/grocy.git
synced 2025-08-19 03:40:10 +00:00
Clear displayed quantity unit after purchase/consume/inventory bookings
This commit is contained in:
@@ -52,6 +52,7 @@
|
||||
$("#new_amount").attr("step", "1");
|
||||
$("#new_amount").parent().find(".invalid-feedback").text(L('The amount cannot be lower than #1', '0'));
|
||||
$('#new_amount').val('');
|
||||
$('#new_amount_qu_unit').text("");
|
||||
Grocy.Components.DateTimePicker.Clear();
|
||||
Grocy.Components.ProductPicker.SetValue('');
|
||||
Grocy.Components.ProductPicker.GetInputElement().focus();
|
||||
|
Reference in New Issue
Block a user