Coral-UI error for nested multi-fields for content fragments | Community
Skip to main content
Level 3
July 11, 2022
Solved

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

  • July 11, 2022
  • 1 reply
  • 1031 views

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)

 

 

 

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by JuanEc2

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

1 reply

JuanEc2Author
Level 3
July 11, 2022

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

JuanEc2AuthorAccepted solution
Level 3
July 12, 2022

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