We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 525ce1e commit d10e5f8Copy full SHA for d10e5f8
src/lib/autocomplete/autocomplete.md
@@ -138,7 +138,7 @@ class MyComp {
138
}
139
140
filter(name: string): User[] {
141
- return this.options.filter(option => new RegExp(`^${name}`, 'gi').test(option));
+ return this.options.filter(option => new RegExp(`^${name}`, 'gi').test(option.name));
142
143
144
displayFn(user: User): string {
0 commit comments