From 17a4d04053496103ada88893175d2d2efc6dde81 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Wed, 30 Dec 2020 08:22:43 +0100 Subject: [PATCH] Fixed store picker validation (fixes #1233) --- public/viewjs/components/shoppinglocationpicker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/viewjs/components/shoppinglocationpicker.js b/public/viewjs/components/shoppinglocationpicker.js index 58973599..2c141dde 100644 --- a/public/viewjs/components/shoppinglocationpicker.js +++ b/public/viewjs/components/shoppinglocationpicker.js @@ -37,7 +37,7 @@ Grocy.Components.ShoppingLocationPicker.Clear = function() $('.shopping-location-combobox').combobox({ appendId: '_text_input', bsVersion: '4', - clearIfNoMatch: false + clearIfNoMatch: true }); var prefillByName = Grocy.Components.ShoppingLocationPicker.GetPicker().parent().data('prefill-by-name').toString();