mirror of
https://github.com/grocy/grocy.git
synced 2026-04-04 11:56:16 +02:00
Immediately refresh the QU conversion hint on key presses on the product edit page
This commit is contained in:
parent
b8f9d09afc
commit
b39866bda2
|
|
@ -222,6 +222,7 @@ $('.input-group-qu').on('change', function(e)
|
||||||
$('#product-form input').keyup(function(event)
|
$('#product-form input').keyup(function(event)
|
||||||
{
|
{
|
||||||
Grocy.FrontendHelpers.ValidateForm('product-form');
|
Grocy.FrontendHelpers.ValidateForm('product-form');
|
||||||
|
$(".input-group-qu").trigger("change");
|
||||||
|
|
||||||
if (document.getElementById('product-form').checkValidity() === false) //There is at least one validation error
|
if (document.getElementById('product-form').checkValidity() === false) //There is at least one validation error
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user