From 5331ca483576f4032c9fa073377e149f49c9dfc8 Mon Sep 17 00:00:00 2001 From: Wolfgang Meier Date: Fri, 22 Dec 2023 11:30:42 +0100 Subject: [PATCH] fix(pb-combo-box): always disable client-side filtering if there's a remote source configured --- src/pb-combo-box.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pb-combo-box.js b/src/pb-combo-box.js index 895f06f0..fcd0a8d3 100644 --- a/src/pb-combo-box.js +++ b/src/pb-combo-box.js @@ -157,7 +157,7 @@ export class PbComboBox extends pbMixin(LitElement) { const url = this.toAbsoluteURL(this.source); options.labelField = 'text'; options.valueField = 'value'; - options.searchField = ['text', 'value']; + options.searchField = []; options.preload = this.preload; options.load = (query, callback) => { fetch(`${url}?query=${encodeURIComponent(query)}`, {