5.2.0 Beta 1 - Duplicating Components Bug

First of all, yet again you have given us some powerful new features that I believe will have some great use cases. Keep up the good work guys!

I’m experiencing a bug where if I create a “Main BTN” component then I duplicate this button to create a “Secondary BTN” and change the name it doesn’t create a new component but just overrides the inital button that I duplicated from. I’ve done a quick screen recording of what is happening:

Duplicating components like this would mean saving a lot of time on the styling of elements and also the config of params (which if they are complex will be extensive). I would have expected that by me duplicating that initial component it would have created a new component completely unlinked to the initial component.

Hoping this all made sense.

Cheers,
Jonathan

1 Like

Just ran into this as well. Duplicating a component to quickly create variations currently doesn’t seem to work. They don’t show up in the element library.

Perhaps you can uncheck “Export the Component”, duplicate it, and check it again?

It would be nice if it worked seamlessly.

Just tried it and it doesn’t work.

1 Like

Thank you! Great find here. We’ll get this fixed up. To repair this manually, have a look in the Dev Toolkit (Inspector tab) for the value _c_id. That value needs to be a unique string across all components. It’s automatically populated the first time you click Export. Just change it to anything else and save, then it will be recognized as a unique component.

1 Like