Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA form whose bottom bar appears only when something has changed, offering Discard and Save with a count of changed fields, saving state and an error that keeps the edits. Use this when a long phone settings or edit form should only ask to save when there is something to save.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
Use it when a long phone settings or edit form should only ask to save when there is something to save.
Do not use it for forms that save as you type or have a single field.
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 | Default | Description |
|---|---|---|---|
initial | { name: string; email: string; phone: string } | required | Saved values. |
onSave | (values) => Promise<void> | required | Save. A rejection shows an error and keeps the form dirty. |
role="alert".The pattern ships with a Testing Library test (sticky-save-bar-dirty.test.tsx) that drives it through roles and the keyboard.