Fixed store picker validation (fixes #1233)

This commit is contained in:
Bernd Bestel 2020-12-30 08:22:43 +01:00
parent d79adc4660
commit 17a4d04053
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300

View File

@ -37,7 +37,7 @@ Grocy.Components.ShoppingLocationPicker.Clear = function()
$('.shopping-location-combobox').combobox({ $('.shopping-location-combobox').combobox({
appendId: '_text_input', appendId: '_text_input',
bsVersion: '4', bsVersion: '4',
clearIfNoMatch: false clearIfNoMatch: true
}); });
var prefillByName = Grocy.Components.ShoppingLocationPicker.GetPicker().parent().data('prefill-by-name').toString(); var prefillByName = Grocy.Components.ShoppingLocationPicker.GetPicker().parent().data('prefill-by-name').toString();