Timeline for Error when aura iteration given list property
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 8, 2016 at 23:24 | vote | accept | bafuda | ||
Jul 27, 2016 at 17:39 | comment | added | bafuda | I contacted Salesforce support and they're looking into the issue. Their comment is: "This occurs because It appears that the default attribute on aura:attribute is creating a String value for non-String Collection types. As another test, modifying the code to use a String Collection still including the default="" will work as expected. <aura:attribute name="recentAccounts" type="String[]" default="" /> Works." | |
Jul 12, 2016 at 18:33 | answer | added | bafuda | timeline score: 1 | |
Jul 12, 2016 at 18:31 | history | edited | bafuda | CC BY-SA 3.0 |
deleted 540 characters in body
|
Jul 12, 2016 at 18:13 | answer | added | Praveen | timeline score: 1 | |
Jul 12, 2016 at 18:12 | history | edited | bafuda | CC BY-SA 3.0 |
updated example to make it less confusing
|
Jul 12, 2016 at 18:10 | comment | added | bafuda | @Praveen yes I want to iterate over acc.Contacts | |
Jul 12, 2016 at 18:03 | comment | added | Praveen | do you want to iterate a nested property (Contacts) in an object? | |
Jul 12, 2016 at 17:33 | history | asked | bafuda | CC BY-SA 3.0 |