mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Make clear than picking a specific stock item on consume always means an amount of 1
This commit is contained in:
@@ -224,6 +224,7 @@ $("#use_specific_stock_entry").on("change", function()
|
||||
{
|
||||
$("#specific_stock_entry").removeAttr("disabled");
|
||||
$("#amount").attr("disabled", "");
|
||||
$("#amount").val(1);
|
||||
$("#amount").removeAttr("required");
|
||||
$("#specific_stock_entry").attr("required", "");
|
||||
}
|
||||
|
Reference in New Issue
Block a user