Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Printing value out of object with always changin key

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>