# Discard unsaved changes to a custom field

Keep editing a draft or leave without changing the saved definition.

## Before you start — Shop-ERP

Open an existing definition and make an unsaved edit. The example changes Packaging weight to Unwanted draft. Select **Discard**, or use **Back to definitions**. A dirty draft opens **Discard changes?**.

![Discard confirmation](https://cms.tickalio.com/api/media/file/erp-discard-custom-field-changes-01.png)

## Follow the steps — Shop-ERP

Choose **Keep editing** to return without saving or losing the draft. Verify Unwanted draft is still in Name.

![Draft retained after Keep editing](https://cms.tickalio.com/api/media/file/erp-discard-custom-field-changes-02.png)

## Check the result — Shop-ERP

To leave, select Back to definitions again and confirm **Discard**. Reopen Packaging weight and check its saved name and configuration. This path sent no definition update for the unwanted draft. Discarding a draft is separate from deleting a saved field.

![Saved definition restored after discarding](https://cms.tickalio.com/api/media/file/erp-discard-custom-field-changes-03.png)

> [!NOTE] These steps were checked with the actual application and fictional records in an isolated local preview. Connected persistence, permissions and downstream results remain unverified.

Last reviewed: 2026-10-29
