Accessible field name, visible unless hideLabel is set.
modelValue
QuireKitDateRangeValue | undefined
undefined | {
/** Complete ISO start date, or an empty/incomplete endpoint. */
start: null | string;
/** Complete ISO end date, or an empty/incomplete endpoint. */
end: string | null;
}
Controlled endpoints; preserves temporary incomplete or reversed input.
defaultValue
QuireKitDateRangeValue | undefined
默认:{ start: null, end: null }
undefined | {
/** Complete ISO start date, or an empty/incomplete endpoint. */
start: null | string;
/** Complete ISO end date, or an empty/incomplete endpoint. */
end: string | null;
}
Initial uncontrolled value and native reset target.
startLabel
string | undefined
Accessible start-field name; derived from label and the active language by default.
endLabel
string | undefined
Accessible end-field name; derived from label and the active language by default.
numberOfMonths
1 | 2 | undefined
默认:2
Visible calendar months, wrapping on narrow screens; defaults to two.
allowNonContiguousRange
boolean | undefined
默认:false
Allow unavailable interior dates; endpoints must remain selectable.
disabled
boolean | undefined
默认:false
Prevent interaction and omit the field from native form data.
width
string | undefined
默认:"360px"
CSS width; the field never exceeds its containing block.
required
boolean | undefined
默认:false
Required-field semantics; validation is owned by the host Form.
size
QuireKitControlSize | undefined
默认:"sm"
undefined | "sm" | "md" | "xs" | "lg" | "xl"
Shared single-line control size.
readOnly
boolean | undefined
默认:false
Allow reading and focus, without changing the value.
description
string | undefined
Supporting text associated with each editable segment.
open
boolean | undefined
默认:undefined
Controlled popup visibility.
form
string | undefined
Associated native form ID, including forms outside the DOM ancestry.
defaultOpen
boolean | undefined
默认:false
Initial uncontrolled popup visibility.
presentation
PickerPresentation | undefined
默认:"auto"
undefined | "auto" | "desktop" | "bottom"
Auto uses a bottom sheet below 768px; a session keeps its opening presentation.
invalid
boolean | undefined
默认:false
Host-owned validation state, in addition to date-bound validation.
errorText
string | undefined
Recovery guidance presented when the host marks the field invalid.
hideLabel
boolean | undefined
默认:false
Keep the accessible name while letting an external layout present the label.
dateFormat
"iso" | "locale" | undefined
默认:"iso"
Date display convention; iso by default, locale follows the active language.
min
string | undefined
Inclusive minimum ISO calendar date.
max
string | undefined
Inclusive maximum ISO calendar date.
placeholderValue
string | undefined
Stable reference date for empty segments, independent of the current clock.
name
string | undefined
Native form field name.
clearable
boolean | undefined
默认:true
Offer a clear action, including while date segments are incomplete.
openOnFocus
boolean | undefined
默认:true
Open when the editable field receives focus or a click; defaults to true.
calendarDensity
QuireKitCalendarDensity | undefined
默认:"comfortable"
undefined | "comfortable" | "compact"
Calendar panel spacing, independent of the input size; comfortable by default.
timeZone
string | undefined
Zone used only to determine today's date.
startOfWeek
0 | 1 | 2 | 3 | 4 | 5 | 6 | undefined
First weekday; otherwise follows the active language.
isDateUnavailable
((date: string) => boolean) | undefined
Business dates forbidden in both the calendar and field validation.
Slots 内容位置
leading
Optional prefix inside the range field.
any
footer
Host shortcuts use the same range validation before committing.