Expand description
Text that becomes a field when it is asked to.
Whether the field is open, and what it holds when it opens, are the
caller’s. InlineEdit reports that an edit was requested, committed, or
abandoned, and writes nothing.
§A failed save keeps what was typed
Losing someone’s typing because the host refused the save is the worst
thing this component could do. So the field is built once when an editing
session opens and is left alone for as long as the session stays open: a
caller that answers a commit with InlineEdit::failure and keeps
editing true gets the typed text still there, under the reason it did not
save.
Structs§
- Inline
Edit - Text that a click or enter turns into a field.