mirror of
https://github.com/grocy/grocy.git
synced 2026-03-28 15:49:25 +01:00
Make clear than picking a specific stock item on consume always means an amount of 1
This commit is contained in:
parent
2ff5faacc0
commit
e021c93d22
|
|
@ -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", "");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user