CMS Collection renaming keys/variables if I edit or add them

I have a CMS collection with a few custom fields.

The problem is that if I edit the type (delete what was a number field and add a new one as a text with the SAME name, webflow renames it xxxxx-1, or xxxxx-2 etc).

We are using the API to consume the collection and this is causing issues as we are expecting “campaign-name” and the collection has “campaign-name-2” and so on.

In the screenshot, I understand the underscore gets converted to a hyphen and have taken that into account, it is the addition of the number and the inability to edit it.

image

Going to put the form in an html embed - that should do the trick…