Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProEdit an existing record in a generated form with a live list of what changed from the saved values, a Reset that restores them, and a Save that is only available when something is different. Use this when people edit saved data and want to see what they are about to change.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
An edit form shows saved values and people should know what differs before they save.
Do not use it when: For create forms there is nothing to compare against.
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 |
|---|---|---|
record | { title, status, featured } | The saved values. |
onSave | (record) => void | Promise<void> | Called with the cleaned values. |
diffRecords(before, after) is exported.
key), so the controls always show the values you are told about.The pattern ships with a Testing Library test (auto-form-edit-record.test.tsx) that covers: its main behaviour, the keyboard path and the error or empty states.