When modifying a section field, lock the ID
When initially building a section the ID of the fields should follow the name of the fields, however, when editing later, a field should be renamable without breaking the code- the ID for the field could be locked to remain the same.
This could either be done after the section has first been “created/published”
OR there could be a smart check to see if the field has already been used in the code, and lock the ID after it has been.
OR We could allow the user a checkbox to “lock” the ID manually when editing the field name
Log in to comment and vote
Comments1
Matt Jones
Mar 26
One serious reason for this is that data could be lost if the field name changes. This would support being a bit stricter, e.g. locking the field ID by default, and maybe allowing it to be “unlocked”.