Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA list of contacts where each contact has its own list of emails: two field arrays inside each other with separate limits, stable keys through reorders, and errors that name the contact. Use this when a repeated record contains another repeated field.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
A repeated record owns a repeated sub-field (people with several emails, orders with several lines, plans with several features).
Do not use it when: Avoid nesting more than two levels in a form; use a master-detail view instead.
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 | { name, emails: string[] }[] | Starting contacts. |
onChange | (contacts) => void | After every edit in either list. |
The pattern ships with a Testing Library test (nested-contact-emails.test.tsx) that covers: its main behaviour, the keyboard path and the error or empty states.