Timeline for LWC: Uncaught (in promise) TypeError: Cannot read property 'recordTypeInfos' of undefined
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 14, 2021 at 17:02 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jan 22, 2021 at 9:27 | answer | added | Alba Rivas | timeline score: 1 | |
Jan 22, 2021 at 3:22 | comment | added | Nick C |
Any reason you've got two objectInfo variables? I'm guessing this is going to create confusion. The wire function will store the results in the objectInfo declared below it. You don't need the @track objectInfo variable.
|
|
Jan 22, 2021 at 1:02 | comment | added | zaitsman |
I would be explicit with my JS checks, coz JS is flimsy. So instead of if(what) i would do if(what != null)
|
|
Jan 22, 2021 at 0:27 | history | asked | Irene | CC BY-SA 4.0 |