I am trying to build my first element component. I took the examples, setup a new component, added it and now my pain starts.
Sometimes the new component is shown just empty and is displayed as unknown in the overview. Disabling and enabling the element in the settings seem to fix it sometimes, but not always.
It’s an element component with a collection of items (which later shall include drop zones)
Any idea what I can take a look at to debug?
And second question: how can I give each drop zone a unique id, when increasing the amount of items in the collection? Something like @each and using iteration number?
I want to create a number of div-containers and have the user put in any combination of components.
I then afterwards want to hide all and show only one specific div-container. Like pressing “Show my-container-1“ and it first hides all my-container class Dom-elements and then only shows all containers with class “my-container-1“