Skip to content

Commit

Permalink
fixed #1862
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrtcndkn committed Jan 20, 2017
1 parent 787d4b8 commit 2e1eeab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/listbox/listbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ export class Listbox implements AfterContentInit,ControlValueAccessor {
let items = [];
for(let i = 0; i < this.options.length; i++) {
let option = this.options[i];
if(option.label.toLowerCase().startsWith(this.filterValue.toLowerCase())) {
if(option.label.toLowerCase().includes(this.filterValue.toLowerCase())) {
items.push(option);
}
}
Expand Down

0 comments on commit 2e1eeab

Please sign in to comment.