TimeField
Enters a time of day.
When to use
- Use it for appointments and shifts.
Examples
Appointment time
Loading the example
<k:TimeField label="Arrival" value="09:30" min="08:00" max="18:00" step="15" help="Type 930 or 9:30 am"/>API
Properties
| Name | Type | Default | Description |
|---|---|---|---|
value | any | null | Time as HH:mm, HH:mm:ss or OData V2 Edm.Time |
label | string | Label | |
placeholder | string | Placeholder | |
help | string | Help text | |
error | string | Error text | |
min | string | Earliest time, HH:mm | |
max | string | Latest time, HH:mm | |
step | int | 30 | Interval in the list, in minutes |
required | boolean | false | Whether a value is required |
enabled | boolean | true | Whether the control is enabled |
Events
| Name | Type | Description |
|---|---|---|
change | value: any | The value changed |