Skip to content

Commit

Permalink
fix(pb-combo-box): always disable client-side filtering if there's a …
Browse files Browse the repository at this point in the history
…remote source configured
  • Loading branch information
wolfgangmm committed Dec 22, 2023
1 parent 50e9d48 commit 5331ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pb-combo-box.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)}`, {
Expand Down

0 comments on commit 5331ca4

Please sign in to comment.