Skip to content

Commit

Permalink
fix(Demo): typeahead, wrong filtering (valor-software#4559)
Browse files Browse the repository at this point in the history
  • Loading branch information
Domainv authored and leo6104 committed Oct 10, 2019
1 parent 4192569 commit d996f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/src/app/components/+typeahead/demos/async/async.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class DemoTypeaheadAsyncComponent {
}

getStatesAsObservable(token: string): Observable<any> {
const query = new RegExp(token, 'ig');
const query = new RegExp(token, 'i');

return of(
this.statesComplex.filter((state: any) => {
Expand Down

0 comments on commit d996f8f

Please sign in to comment.