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 valorkin committed Aug 21, 2018
1 parent fa6f174 commit 29d9656
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 29d9656

Please sign in to comment.