WarUI

Typed paste validation

GRID-A12-F11P0baselinePlanned

Pasted text is converted to each column's type (number, date, enum, boolean) and checked by the column validators. Invalid cells can be rejected, kept as invalid, or cause the whole paste to be aborted. A summary report is shown afterwards.

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

Live example

An inventory grid with typed columns and a sample paste that contains errors.

Expected behavior

In skip mode, invalid cells keep their old values and are listed in the report. In mark mode, they are written with an error marker. In all-or-nothing mode, any error aborts the whole paste.

Planned API surface

column.parseValuecolumn.validateclipboard.validationModeclipboard:pasteReportgetLastPasteReport()

Acceptance criteria

  • "1.234,5" parses as 1234.5 in the de-DE locale (pending)
  • Enum columns accept a case-insensitive match against the option label or value (pending)
  • The report lists the row ID, column ID, raw input and reason for each rejected cell (pending)
  • An all-or-nothing abort leaves the grid and the undo stack unchanged (pending)