Skip to content

Commit

Permalink
refactor: do not initialize filteredItems property repeatedly (#7426)
Browse files Browse the repository at this point in the history
  • Loading branch information
vursen authored May 17, 2024
1 parent f9559b6 commit f35f093
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,6 @@ export const ComboBoxDataProviderMixin = (superClass) =>
if (this.items !== undefined && this.dataProvider !== undefined) {
restoreOldValueCallback();
throw new Error('Using `items` and `dataProvider` together is not supported');
} else if (this.dataProvider && !this.filteredItems) {
this.filteredItems = [];
}
}

Expand Down

0 comments on commit f35f093

Please sign in to comment.