Modal Form Editing
Edits a row in a dialog form generated from the column definitions. It uses the same editors and validators as the grid. This suits wide records, mobile screens, and fields that are hidden in the grid.
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
An assets grid that shows 5 columns, while the form shows 12 fields.
Expected behavior
Double-click or Enter opens the dialog with every field. The form reuses the column editors and validators. Save commits all the fields at once. Cancel or Escape discards them and returns focus to the row.
Planned API surface
editMode: 'modal'openEditDialog(rowId)formLayoutcolumns[].formOnlydialogTitle(fn)onDialogSaveonDialogCancelAcceptance criteria
- Form fields use the same editor, parser and validators as the grid. (pending)
- Saving the form is atomic, the same as a full-row save. (pending)
- Fields that are read-only in the grid are read-only in the form. (pending)
- When the user cancels with changes, a discard confirmation appears. (pending)