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

Properties value is undefined in method which returns promise

$
0
0

@david95thinkcode wrote:

Hi everybody. I need help please

Current behavior:
I'm trying to use a parameter in one method.
When I show the object with a console.log, The object is correctly displayed with its various properties.
When I tried to get value of one property of this object, I realize that it shows me : undefined. It seems like the values disappear.
The following pictures explain that :
The code :


My google chrome console shows :

Expected behavior:
The properties of my object should not be "undefined", they should contain there real values inside this object.

Please, how could I solve this problem ??? Thanks for any answer

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



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