Posts by Ian Fraga • 1 point
1 post
-
0
votes2
answers376
viewsQ: Filter with Typescript
I have the following code : search(evento){ this.str = evento.target.value; console.log('str ',this.str) this.cartoes.forEach(element => { if(element.codigo.search(this.str) !== -1 &&…