@phil_co wrote:
Hello I want to be able to filter the "name" of my array for autocomplete. However I can only get "records".
this.http.get('http://www.example.com/file.php') .subscribe(data => { this.items=JSON.parse(data.text()).records; });
My array:
{ "records":[ {"id":"1","name":"Bart"},{"id":"2","name":"Lisa"} ]}
Posts: 1
Participants: 1