Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA date field that treats weekends and listed holidays as unavailable and, when one is typed, offers a button that jumps to the next working day. Use this when a date must land on a day the office or carrier works.
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 a date must land on a day the office or carrier works.
Do not use it when any day is valid; use date-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 |
|---|---|---|---|
| value / defaultValue / onValueChange | string | null | null | ISO date. |
| holidays | string[] | [] | Non-working dates. |
| weekend | number[] | [0, 6] | Non-working weekdays. |
The pattern ships with a Testing Library test (working-days-only-date.test.tsx) that covers the next working day over weekends and holidays, the suggestion button and a working day.