You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
Looks like this repo is forgotten but I will ask anyway.
I have super simple angular 4 app which feches list of currencies with their rates from data.fixer.io/api/
I use ng2-search-filter to search within the list of currencies. However it filters only when I type 1 character. If my search term is 2 or more letters the result is empty.
Anyone know knows how to solve this?
<div*ngIf="!success"><mat-progress-barmode="query" color="accent"></mat-progress-bar></div><mat-cardclass="topnav"><spanclass="topbarelem"><mat-form-field><inputmatInput[matDatepicker]="picker" [formControl]="serializedDate" placeholder="Choose a date"><mat-datepicker-togglematSuffix[for]="picker"></mat-datepicker-toggle><mat-datepicker#picker></mat-datepicker></mat-form-field></span><spanclass="topbarelem"><buttonclass="fetch" mat-raised-buttoncolor="accent" (click)="fetchRates()">Fetch</button></span><span*ngIf="success" class="topbarelem info">
Base {{base}} of {{date}}.
</span><spanclass="search"><mat-form-fieldclass="example-full-width"><inputmatInputplaceholder="Filter currency" type="search" [(ngModel)]="searchterm"></mat-form-field></span></mat-card><mat-card><mat-card-content><mat-listrole="list"><mat-list-item*ngFor="let key of keys | filter:searchterm" role="listitem">
{{key}}: {{rates[key]}}
</mat-list-item></mat-list></mat-card-content></mat-card>
The text was updated successfully, but these errors were encountered:
Looks like this repo is forgotten but I will ask anyway.
I have super simple angular 4 app which feches list of currencies with their rates from data.fixer.io/api/
I use ng2-search-filter to search within the list of currencies. However it filters only when I type 1 character. If my search term is 2 or more letters the result is empty.
Anyone know knows how to solve this?
The text was updated successfully, but these errors were encountered: