kor TürkçeGitHub

TimeField

Enters a time of day.

kor/ui/TimeFieldSource

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

NameTypeDefaultDescription
valueanynullTime as HH:mm, HH:mm:ss or OData V2 Edm.Time
labelstringLabel
placeholderstringPlaceholder
helpstringHelp text
errorstringError text
minstringEarliest time, HH:mm
maxstringLatest time, HH:mm
stepint30Interval in the list, in minutes
requiredbooleanfalseWhether a value is required
enabledbooleantrueWhether the control is enabled

Events

NameTypeDescription
changevalue: anyThe value changed

Related

DateFieldDateTimeField