Expand my Community achievements bar.

SOLVED

Coral-UI error for nested multi-fields for content fragments

Avatar

Level 3

This issue only happens for the first nested multifield. I wrote a clientlib based off of sreekanth choudry composite multifields and added some code to add nested multifields using the content fragment editor and datatypes.

 

 

coralui3.7caefb86dc764d3d3fcbd8ff1d8c65b4.js:45197 Uncaught TypeError: Cannot read properties of undefined (reading 'set')
at HTMLElement.set (coralui3.7caefb86dc764d3d3fcbd8ff1d8c65b4.js:45197:22)
at HTMLElement.set (coralui3.7caefb86dc764d3d3fcbd8ff1d8c65b4.js:6200:28)
at HTMLElement.setter [as template] (coralui3.7caefb86dc764d3d3fcbd8ff1d8c65b4.js:6532:22)
at Coral.Component._handleContentZones (coralui3.7caefb86dc764d3d3fcbd8ff1d8c65b4.js:8585:32)
coralui3.7caefb86dc764d3d3fcbd8ff1d8c65b4.js:45197 Uncaught TypeError: Cannot read properties of undefined (reading 'set')
at HTMLElement.set (coralui3.7caefb86dc764d3d3fcbd8ff1d8c65b4.js:45197:22)
at HTMLElement.set (coralui3.7caefb86dc764d3d3fcbd8ff1d8c65b4.js:6200:28)
at HTMLElement.setter [as template] (coralui3.7caefb86dc764d3d3fcbd8ff1d8c65b4.js:6532:22)
at Coral.Component._handleContentZones (coralui3.7caefb86dc764d3d3fcbd8ff1d8c65b4.js:8585:32)
coralui3.7caefb86dc764d3d3fcbd8ff1d8c65b4.js:45644 Uncaught TypeError: Cannot read properties of undefined (reading 'contains')
at coralui3.7caefb86dc764d3d3fcbd8ff1d8c65b4.js:45644:26
at Array.forEach (<anonymous>)
at MutationObserver.<anonymous> (coralui3.7caefb86dc764d3d3fcbd8ff1d8c65b4.js:45639:19)
coralui3.7caefb86dc764d3d3fcbd8ff1d8c65b4.js:45624 Uncaught TypeError: Cannot read properties of undefined (reading 'content')
at HTMLElement._renderTemplate (coralui3.7caefb86dc764d3d3fcbd8ff1d8c65b4.js:45624:68)
at HTMLElement._onItemAdded (coralui3.7caefb86dc764d3d3fcbd8ff1d8c65b4.js:45533:14)
at Coral.Collection._onItemAttached (coralui3.7caefb86dc764d3d3fcbd8ff1d8c65b4.js:9898:25)
at Coral.Collection._handleMutation (coralui3.7caefb86dc764d3d3fcbd8ff1d8c65b4.js:10036:16)
coralui3.7caefb86dc764d3d3fcbd8ff1d8c65b4.js:45644 Uncaught TypeError: Cannot read properties of undefined (reading 'contains')
at coralui3.7caefb86dc764d3d3fcbd8ff1d8c65b4.js:45644:26
at Array.forEach (<anonymous>)
at MutationObserver.<anonymous> (coralui3.7caefb86dc764d3d3fcbd8ff1d8c65b4.js:45639:19)

 

 

 

coralui.gif

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Level 3

I fixed my issue, i was overwriting the template for that specific element.

View solution in original post

3 Replies

Avatar

Level 3

Thank you but my issue still persists. I have referenced those answers and have not managed to solve the coral UI error.

Avatar

Correct answer by
Level 3

I fixed my issue, i was overwriting the template for that specific element.