Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA segmented date field that understands pasted text such as 25/10/2026, 10/25/2026, 2026-10-25 and 25 Oct 2026, reads day-first or month-first from the locale and says when it could not. Use this when people copy dates from emails, spreadsheets and other apps into a date field.
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.
Use it when people copy dates from emails, spreadsheets and other apps into a date field.
Do not use it for free-text dates like next Friday; this accepts numeric and month-name formats only.
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 |
|---|---|---|---|
| value / defaultValue / onValueChange | string | null | null | ISO date. |
| locale | string | browser | Decides day-first or month-first for ambiguous text. |
The pattern ships with a Testing Library test (pasteable-date-field.test.tsx) that covers the formats, day-first versus month-first locales, impossible dates and the paste event.