DateTimeInput

Properties for components that support client-side checks.

组件展示

2028
2027
2026
2025
2024
Mar
Apr
May
Jun
Jul
26
27
28
29
30

属性

属性名
类型
必需性
描述
id*
ComponentId
必需
暂无描述
accessibility
AccessibilityAttributes
可选
暂无描述
styles
Styles
可选
Component style properties
weight
number
可选
The relative weight of this component within a Row or Column. This is similar to the CSS 'flex-grow' property. Note: this may ONLY be set when the component is a direct descendant of a Row or Column.
checks
CheckRule[]
可选
A list of checks to perform. These are function calls that must return a boolean indicating validity.
component*
"DateTimeInput"
必需
暂无描述
value*
string | DataBinding | object
必需
Represents a string
enableDate
boolean
可选
If true, allows the user to select a date.
enableTime
boolean
可选
If true, allows the user to select a time.
min
string | DataBinding | object
可选
Represents a string
max
string | DataBinding | object
可选
Represents a string
label
string | DataBinding | object
可选
Represents a string

代码示例

{
  "component": "DateTimeInput",
  "id": "datetimeinput_1",
  "value": "示例value"
}