Timeline for Callback function in LWC
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 8, 2019 at 17:14 | comment | added | Sunil | Thanks Caspar for helping me on this :) | |
Jul 8, 2019 at 17:08 | vote | accept | Sunil | ||
Jul 8, 2019 at 14:28 | vote | accept | Sunil | ||
Jul 8, 2019 at 17:08 | |||||
Jul 8, 2019 at 10:15 | comment | added | Sunil | I added the line as per the above comment. But i'm getting this error in console.log lds.js:2 Uncaught (in promise) Error: Refresh failed because resolved configuration is not available. I followed this blog post :- jdspaceit.wordpress.com/2019/02/27/… .. but still error dint resolve. | |
Jul 8, 2019 at 8:58 | comment | added | Caspar Harmer |
forgot to add this line: this.l2ProductList = data; which sets the var - so then your getter will work.
|
|
Jul 8, 2019 at 8:58 | history | edited | Caspar Harmer | CC BY-SA 4.0 |
added 13 characters in body
|
Jul 8, 2019 at 8:45 | comment | added | Sunil | Since i'm using a combo-box it needs a getter. If i go by the way as you suggested..how do i populate values in the getter ?? i.e get l2ProductOptions(){ return this.l2ProductList.data; } | |
Jul 8, 2019 at 8:38 | history | answered | Caspar Harmer | CC BY-SA 4.0 |