Date Range
11/19/26Less than 1 minute
Date Range
Set "type": "dateRange". From/to date range picker. Stores an object { from: "...", to: "..." } (key names configurable).
Used by: dateRange
Also available: all common options.
| Option | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
fromLabel | string | No | "From" | Label above the start date input | "From", "Start date" |
toLabel | string | No | "To" | Label above the end date input | "To", "End date" |
fromField | string | No | "from" | JSON object key for the start date | "from", "startDate" |
toField | string | No | "to" | JSON object key for the end date | "to", "endDate" |
yearOnly | boolean | No | false | Render year-only text inputs instead of full date pickers (accepts values like "450" or "450 CE") | true |