Selects a date or time value.
<DatePicker ... />This component is backed by the platform control or container. Prefer its XML tag in an .etlua template; keep view-tree construction out of controllers.
| Name | Type | Required | Description |
|---|---|---|---|
disabled |
boolean | optional | Component-specific setting passed to the native control. |
onChange |
function | optional | Callback invoked when the value changes. |
time |
value | optional | Whether the date picker includes time selection. |
timestamp |
number | optional | Date value represented as a Unix timestamp. |
<DatePicker />
- AppKit uses the AppKit implementation. UIKit uses the UIKit implementation.
Source: lua/embedded/AppKit.lua:1402 (AppKit.DatePicker)