Skip to main content
Question

Component inside component, instance slot

  • August 28, 2024
  • 2 replies
  • 185 views

Anders_Lund

Hi, I’ve created a component (an dialog) that contains a instance slot section where the designer using this component is able to swap this instance slot to another component. It works, but I with some of the components I get the following error message “components can’t contain instances of themself” a have tried changing the name on the component without any luck, does anyone know how this can be solved or what the issue is?

This topic has been closed for replies.

2 replies

Ben_Smeets
  • Active Member
  • 40 replies
  • August 28, 2024

Maybe this: The component you are using the instance from, contains the wrapper component most likely. Meaning you will get circular references and an error.


Anders_Lund
  • Author
  • 1 reply
  • August 28, 2024

I recreated the component with this specific issue and now it works fine, what you say makes sence but it was a bit difficult to solve so I just tried this and it worked fine. Thanks