Skip to content
Astera Technology

Read-only record text or a disabled input?

Show an immutable reference clearly while explaining a temporarily unavailable action only where it affects the task.

Choose against the task constraints

A hypothetical order page displays an immutable order ID and lets authorized staff change a delivery note. During a pending save, note editing is temporarily paused. Permanently read-only data and a temporary action state should not be styled as if they mean the same thing.

Decision worksheet
ConditionLabelled record textDisabled input
Immutable identifierDisplay, copy and associate with its labelMay imply editing would otherwise be possible
Temporary save lockText alone does not communicate the editor stateA temporarily disabled editor can reflect the lock
Task needs copying a referenceKeep the actual reference selectableDo not rely on a disabled control for every reading need
Download editable CSV ↓

Render the immutable ID as labelled readable text. Use a temporary disabled state only for the editor that is genuinely pending, with concise task-relevant status and a defined recovery path. Avoid dimming important identity text until it is difficult to read.

Two kinds of non-editability

Synthetic task cases
FieldRuleDuration
Order ID O-51Immutable in this record modelPermanent
Delivery noteEditable by assigned staffOrdinary ready state
Delivery note while save pendingEditing paused until outcomeTemporary
Download editable CSV ↓

Does a successful note save make O-51 editable?

Show the worked answer

No. Only the temporary note lock clears. The order ID remains immutable under the stated record rule.

Check the chosen interaction

  • Important read-only text remains legible and selectable.
  • Only controls affected by a pending operation are paused.
  • Failure clears or explains the temporary lock without losing the draft.

Related resources