Posts by Umberto • 101 points
1 post
-
0
votes1
answer43
viewsA: Angular search array
Try this: buscarDados(cep: string, uf: string, cidade: string): CEP[] { this.storedNames = JSON.parse(localStorage.getItem("enderecos")); return this.storedNames.filter((endereco: CEP) =>…