Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProEach save carries the version the person started from; if someone else saved first the server refuses, and the form offers to keep your version, take theirs or compare the two field by field, without losing what you typed. Use this when two people can edit the same record.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
Records are shared and edited by more than one person, and a silent overwrite would lose work.
Do not use it when: For real-time collaboration, use an operational transform or CRDT editor. This is for save-based editing.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Description |
|---|---|---|
initial | { title, body, version } | The loaded record. |
save | (draft, baseVersion) => Promise<SaveResult> | Return { ok: true, doc } or { ok: false, current }. |
The pattern ships with a Testing Library test (edit-conflict-detection.test.tsx) that covers: its main behaviour, the keyboard path and the error or empty states.