Can't delete a property from a component

I have a component that used to have multiple variants (component set), but I edited it, and now it holds only one variant in it. I am trying to remove the only variant property that was left there, but without any success. I guess it has to do something with the definition of the component, and I somehow need to change it back from a component set back to a regular component.

Help :pray:

1 Like
7 Likes

you are my hero 10x!

1 Like

My man!, you’re my hero!

I’ve been struggling for two weeks to remove all the properties from a component that went from having multiple variants to just one, and the trick of simply taking it out of the purple rectangle is a winner! Thank you!

Same here… idiotic AF… and the button is there, yet it doesn’t do ANYTHING, no information, no alert!

I don’t have variants, just 1 element, want to remove 1 and only property that was used here…

Yeah but then it’s no longer a component?
EDIT: OMG it doesn’t …it still is a component and it works.

I must say this is idiotic!

BTW it loses the border and doesn’t look like a component anymore, is there a way to bring it back somehow without styling it manually?

This wasn’t a solution for me. I am just duplicating main components and they are not variants of the main, they are a whole new component.

I did this 4 times yesterday. Today, I copied my component (so again, whole new component) and am simply trying to remove the property so that there are no properties on it, and there is a bug with the “minus” button so I can’t delete the property.

It should be acting like any fresh component with a property added, but it’s not.

The solution is based on the assumption that the issue is with one of a variant set, but that is not the problem. Even OP is showing a video of a main component, not a variant set.

I don’t know what I’m missing here cause it’s just not functioning as normal.

JK! Apologies, I totally misunderstood what you meant. I see now. All of the components I was copying did have variants, so when I copied and removed the superfluous variants (this component uses the same elements but is singular), I didn’t even realize I was still looking at a variant frame. After so many times copying variants, a component looks very strange without a dotted line around it :smile:

This solved it for me as well! Seems like there should be some auto-cleanup of sorts in the backend that happens for folks stuck on the same issue :thinking: Thanks @tank666 !