DateField · Input · stable
Selects one calendar date and stores it as a YYYY-MM-DD string.
Android and KMP are declared rendering targets in the contract. Editor scope: Palette+Inspector.
AI authoring: contract flag set; eligible for Stage 3 screen generation. Actual selection depends on the generation route and research input conditions.
Support and authoring conditions were checked against source on 2026-10-13. Properties, behavior and examples below retain the 2026-09-10 reference snapshot; they do not replace device validation.
Preview and property controls
Start the KMP preview and adjust properties to update the example screen and JSON. Reset the example to restore its initial state.
Usage guidance
Use it for
- A single record, visit, or start date
- Inputs constrained by minimum and maximum dates
Avoid it for
- When time of day is also required
- When both start and end dates are needed
Anatomy and accessibility
-
Label
-
ISO date value
-
Calendar trigger
-
Helper text or error
-
Give the calendar button a name that identifies the field.
-
Communicate the allowed date range and errors in text.
Props contract
Runtime defaults and example values are different. Properties without a documented default remain explicitly unspecified.
| Key · label | Type · constraints | Required | Runtime default | Example | Support |
|---|---|---|---|---|---|
label · Label | text | No | No documented default | "기록 날짜" | Android / KMP |
placeholder · Placeholder | text | No | "YYYY-MM-DD" | "YYYY-MM-DD" | Android / KMP |
default · Default value | text | No | No documented default | — | Android / KMP |
minDate · Minimum date | text | No | No documented default | — | Android / KMP |
maxDate · Maximum date | text | No | No documented default | — | Android / KMP |
required · Required | boolean | No | false | — | Android / KMP |
readOnly · Read only | boolean | No | false | — | Android / KMP |
disabled · Disabled | boolean | No | false | — | Android / KMP |
helperText · Helper text | text | No | No documented default | — | Android / KMP |
errorText · Error message | text | No | No documented default | — | Android / KMP |
Binding
[
{
"key": "props.bind",
"source": "user",
"path": "screen.record_date",
"mode": "twoWay"
}
]
Supported actions
The component has no default action of its own.
Runtime notes
No additional runtime notes are declared. Refer to the contract tables for platform support.
Related components and source
Contract verified: 2026-09-02 · schemaVersion 2.
Based on the reference-site snapshot generated on September 10, 2026. The documentation import date and runtime verification date are separate.