@bobyui wrote:
Hi,
I am trying to print a value out of an object that is not array, but have unique key into the object everytime an api throws result below is 2 example :
in json :
1st result search:terms.357.price = 100
2nd result search:
terms.123.price = 100
this always change per api request.
I cant specify in the html like :
{{ term.123.price }}
but it should be :
{{ term.[key].price }}
is there anyway we can do this?
as I tried using the ngFor it is not available to not an array???
Posts: 1
Participants: 1