Immediately refresh the QU conversion hint on key presses on the product edit page

This commit is contained in:
Bernd Bestel 2019-09-26 13:59:41 +02:00
parent b8f9d09afc
commit b39866bda2
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -222,6 +222,7 @@ $('.input-group-qu').on('change', function(e)
$('#product-form input').keyup(function(event)
{
Grocy.FrontendHelpers.ValidateForm('product-form');
$(".input-group-qu").trigger("change");
if (document.getElementById('product-form').checkValidity() === false) //There is at least one validation error
{