I have a name list : names = ['test1', 'test2', 'test3']
I display them in a simple layout with a simple pipe that searches all names including the user input :
<input type="text" [(ngModel)]="query">
<div *ngFor="let n of names | filterBy: query">{{n}}</div>
Next to the name, there is a little cross to delete it from the list.
The problem is that when I delete an item I previously searched for (for instance test2), the filter isn't actualised. Is it possible to to refresh the content returned by the filter after changing the collection ?