Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA settings form that autosaves only while its fields are valid: an invalid value shows its error and pauses saving with a visible note, then saving resumes when it is fixed. Use this when partial invalid data must never reach the server.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
A settings or profile form has no Save button, and bad values must be held back instead of saved.
Do not use it when: If a half-finished form is acceptable, save drafts without validation.
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 | { displayName, website } | sample | Starting values, counted as saved. |
save | (settings) => Promise<void> | - | Called only with valid values. |
delay | number | 800 | Milliseconds of quiet before saving. |
validateSettings(settings) is exported; run it on the server too.
aria-invalid.The pattern ships with a Testing Library test (autosave-form-multi-field.test.tsx) that covers: its main behaviour, the keyboard path and the error or empty states.