Optimized embedded productpicker workflows (references #1226)

This commit is contained in:
Bernd Bestel
2020-12-29 21:18:51 +01:00
parent 9f1692e31f
commit d79adc4660
2 changed files with 14 additions and 2 deletions

View File

@@ -250,4 +250,9 @@ eitherRequiredFields.on("input", function()
Grocy.FrontendHelpers.ValidateForm('shoppinglist-form');
});
if (GetUriParam("product-name") != null)
{
Grocy.Components.ProductPicker.GetPicker().trigger('change');
}
Grocy.Components.UserfieldsForm.Load();