Closed
Description
Currently, when you try to edit a field title; the dataname is changed as automatically. That's good for the fresh fields, but it's not good for editing the fields.
That dataname is saved in order item meta, therefore if the dataname of the field has been changed, it affects lots of places:
- PPOM field titles are not human-readable in older orders (admin, my account, etc.) because human readable field title is matched with dataname in order item meta and field data name of the PPOM field
- If there is a customization (let's say a third-party integration that binds to the dataname; that will be broken.)
- If there is a conditional field mechanism setup that depends on the field whose name is changed; that will be broken
Proposal
When we are in the edit screen, we should disconnect the data field from the title, when the title is edited, we should not change the data field and user will need to change it manually.