Inline edit
An inline edit shows a value that switches between reading and editing on the same page.
When to use
- A single value people change now and then, such as a title or an owner.
- A field that is read more often than it is edited, as in most detail panels.
- Where a full form would be too much for one value.
When not to use
- Several fields that should be saved together. That is a form, with one submit.
- A value with serious consequences, where an accidental click should not change it.
- A required value that has not been entered yet. An empty inline edit looks like text, not a field to fill in.
Guidance
Do
Show the value as text and let people click to edit it. Most of the time they are reading it, not editing it.
Don't
Do not use an inline edit for a value that has to be filled in. An empty one looks like a hint, not a field.
Intensity
How much attention each of this component's grounds uses, scored against the ladder in both themes.
| Appearance | Ground | Light | Dark |
|---|---|---|---|
| inline-edit | neutral | 0.042Ambient | 0.066Substrate |
Substrate, Ambient and Marked are measured. Directed depends on what else is in the region. Demanded is declared, and its use is limited. So neither of those two depends on the component alone. See intensity.
Content
What to write, and what to leave out.
- The label names the value, as in Queue name.
- The placeholder says what belongs there, not what to do. A queue name, rather than Click to enter a value.