You need to sign in to do that
Don't have an account?
B Venkat 2
Aura:iteration not working to iterate list in lightning component
When I am trying to iterate through list in aura:iteration is is not showing values as expected . But if I print list on UI I am able to see list of values.Only iteration not working.
If I write like this the below screen coming:
Red color values coming on iteration.Blue color are printing list.
==> But If I modify code like below nothing printing inside iteration:
Output screen like below:
Only list printing no values in Iteration:
If I write like this the below screen coming:
Red color values coming on iteration.Blue color are printing list.
==> But If I modify code like below nothing printing inside iteration:
Output screen like below:
Only list printing no values in Iteration:
According to me, you are getting JSON serialized data,
so you need to parse that JSON before use in the iteration.
Example:
If you found it useful please appreciate my efforts and mark it as the best answer.
Regards,
Soyab