Timeline for Can <lightning:flow> be nested inside of </aura:iteration>, getting Uncaught Error in $A.getCallback() [Cannot read property 'startFlow' of undefined]
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 12, 2018 at 19:05 | vote | accept | user51395 | ||
Nov 12, 2018 at 19:04 | comment | added | user51395 | Seems like there are two issues: one is the element not rendered immediately as @sfdcfox said, other one is element renders only when tab selected. Also wrapped the function in getCallback per my friend suggestion as setTimeout($A.getCallback(function() { // code }), 100);. Also modified the code so that flow will start only when user select the tab. | |
Nov 9, 2018 at 0:48 | history | answered | sfdcfox♦ | CC BY-SA 4.0 |