This commit is contained in:
Manuel Mtz-Almeida
2017-03-29 14:11:19 +02:00
parent 47e1cdce9d
commit c9851442c6
4 changed files with 14 additions and 15 deletions

View File

@ -16,7 +16,7 @@ export class PageOne {
filterItems(ev: any) {
this.setItems();
let val = ev.target.value;
let val = ev.value;
if (val && val.trim() !== '') {
this.items = this.items.filter(function(item) {