Skip to content

Lock the field data name during editing the title #82

Closed
@mskapusuz

Description

@mskapusuz

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

Screen Shot 2022-11-27 at 01 57 59
https://vertis.d.pr/i/pIi5TB


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.

Metadata

Metadata

Labels

enhancementRequest to improve or optimize an existing feature or functionality in the projectreleasedIndicate that an issue has been resolved and released in a particular version of the product.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions