Form components
Date
ISO date selection with min/max bounds and date/month/year views.
Stores an ISO yyyy-mm-dd string, or null.
Preview
Live
Options
| Prop | Type | Default | Description |
|---|---|---|---|
| minDate | string | ((values) => string) | — | Earliest selectable date — a fixed ISO string or a function of the current values. |
| maxDate | string | ((values) => string) | — | Latest selectable date — fixed or derived. |
| view | 'date' | 'month' | 'year' | 'date' | Granularity of selection. |
| placeholder | string | — | Placeholder text. |
Dependent bounds
minDate / maxDate accept a function of the form values — perfect for "end date must be
after start date". You can also drive them through a propsDependsOn rule. See
Dynamic props.