How to create a custom pipe for filtering with multiple checkboxes? Angular 4
问题 I have a list of statuses whose values are: Dispatched, open, and closed. When I click on a checkbox I want to filter the results <ion-item *ngFor="let s of appointmentStatus" > <ion-checkbox [(ngModel)]="s.checked" (click)="updateFilter(s)"></ion-checkbox> <ion-label >{{ s.status }}</ion-label> </ion-item> <div *ngFor="let a of todaysAppointments> //list of appointments goes here I have tried to come up with a way to do this with pipes, but I have not found a good example and I am rather new