So I am trying to build a custom pipe to do a search filter of multiple values in a ngFor loop. I have looked for a number of hours for a good working example, and most of t
You can use the given function instead on the (input) event of your input box
filterNames(event) { this.names_list = this.names_list.filter(function(tag) { return tag.name.toLowerCase().indexOf(event.target.value.toLowerCase()) >= 0; }); }
Hope it helps..