-
-
Notifications
You must be signed in to change notification settings - Fork 13
TimePicker
Khoa Nguyen edited this page Apr 21, 2024
·
1 revision
TimePicker only displays the time part of a datetime field and supports quick values from a dropdown.
- Supports new look
- Use date part from another DateTime field
- Placeholder
- Increment step
- Use 12-hour or 24-hour cycle
- Freeform
- Start hour, end hour
Property | Usage | Type | Description |
---|---|---|---|
Bound Field* | bound | DateTime | The datetime field that the component is bound to |
Date Anchor | input | DateOnly / DateTime | The field that provide the date part for the control |
Placeholder | input | Single Line Text | The text that shows when no value is selected |
Increment | input | Whole number | Time increments, in minutes, of the options in the dropdown |
Use 12-hour cycle | input | Enum | Yes / No. Whether to use 12-hour cycle. Default: No. Use 24-hour cycle |
Freeform | input | Enum | Yes / No. If yes, the TimePicker allows freeform user input, rather than restricting to the default increments. The input will still be restricted to valid time values. Default: No |
Start Hour | input | Whole number | Start hour (inclusive) for the time range, 0-23 |
End Hour | input | Whole number | End hour (exclusive) for the time range, 1-24 |
** is a required prop
(TODO)
(TODO)
(TODO)
(TODO)
- ❌ Custom validation message
- first release