Repository navigation
v2.0.0-beta.5
Pre-release
Pre-release
·
273 commits
to main
since this release
Major Changes
-
#44
feba241Thanks @Psvensso! - Breaking.editing.mode: "draft"is removed.editinghas two axes:
mode("cell" | "cellConfirm" | "row") picks what counts as a commit, and
draft: trueparks commits in the draft store foredit.saveDrafts().
Closes #43.- Migrate
{ mode: "draft" }to{ mode: "row", draft: true }- or pair
draftwith any other mode. TMDataGridEditModenarrows to the three modes,TMDataGridFeatureFlags
gainseditDraft, and commit args never carrysource: "draft".- Leaving a cell commits under
"cell"(parks underdraft),"cellConfirm"
no longer commits on Tab, and leaving an entry row never commits it. TMDataGrid.EditActionsis renamedTMDataGrid.DraftActions, with the
TMDataGridDraftActions*exports renamed to match.- Fixed: a row that fails validation on the way out keeps its error marks
until the failing value changes;edit.state.rows[id].errorMessages
carries the texts.
- Migrate