Skip to main content
Question

Component inside component, instance slot

  • August 28, 2024
  • 2 replies
  • 125 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 comments

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

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings