DateInput
Edit a calendar date in day, month, and year segments ordered by locale.
Basic usage
Use parseDate to construct a calendar value from an ISO date. The field name identifies the serialized date in the form.
2292028
API
Key props and defaults.
| Prop | Values and behavior | Default |
|---|---|---|
locale | string | provider or en-US |
value / defaultValue | DateSelection | — |
onValueChange | (details: DateValueChangeDetails) => void | — |
min / max | CalendarDate | — |
name | string | — |