WarUI

Textarea Editor

GRID-A14-F08P1baselinePlanned

A multi-line editor for long text. It can open inside the cell or as a popup larger than the cell. The keys that insert a newline and the keys that commit must be configurable, because Enter cannot do both.

Planned. This page shows the specification from issue #193. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A tickets grid with a Notes column that holds multi-line text.

Expected behavior

The popup textarea opens anchored to the cell and stays within the viewport. Pressing the configured newline key inserts a line break. The commit key saves the value. A character counter shows the remaining characters.

Planned API surface

editor: 'textarea'editorParams.popupeditorParams.rowseditorParams.maxLengtheditorParams.newlineKey: 'enter'|'shiftEnter'editorParams.commitKey

Acceptance criteria

  • The newline key inserts a line break and does not commit. (pending)
  • The commit key saves the value, and Escape cancels. (pending)
  • The popup stays inside the viewport near the edges of the screen. (pending)
  • The cell shows a single-line preview with an ellipsis after the commit. (pending)