Add / edit value
Shown over the value editor. Two variants: add (code editable) and edit (code locked, id revealed).
Add a value
Add value
To Countries · authored in en
What a user sees, in the source locale. Translatable.
Immutable after create — an interop key, never shown to end users and never translated. Unique within this list.
Edit a value — code locked, id revealed
Edit value
In Countries · authored in en
Editing the source label invalidates every other locale's
source_hash — those rows are flagged Source changed in the workbench.
Immutable — integrations already reference it.
sli_01h455vb4pex5vsknk084sn02q
Delete is a purge — typed confirmation
Archive is one click. Purge is destructive and irreversible: it is the only action that makes an already-stored id un-resolvable.
States
Test hooks: [data-frame='04-value-modal'] · [data-modal='add-value'] · [data-modal='edit-value'] · [data-modal='purge-value'] · [data-field='code'] · [data-item-id] · [data-confirm-input] · [data-action='save-value'] · [data-action='archive-instead'] · [data-action='confirm-purge'] · [data-error='CONFLICT'] · [data-error='QUOTA_EXCEEDED'] · [data-error='FORBIDDEN']
Contract: POST /v1/selection-lists/{listId}/items · PATCH …/items/{itemId} · POST …/items/{itemId}/archive · DELETE …/items/{itemId} (purge).
Tokens only — no raw hex, spacing or type outside tokens.css / frame.css.