Skip to content

Kirby 3.6.0

Time input

<k-time-input>

This UI component hasn't been finalized yet. The functionality and syntax aren't stable and might be redone in an upcoming release. Only use it at your own risk - breaking changes are likely to occur.

<k-input v-model="time" name="time" type="time" />

Props

Prop Type Default Description
autofocus
boolean
disabled
boolean
display
string
"HH:mm"
id
number|string
function() { return this._uid; }
max
string
The last allowed date
min
string
The first allowed date
required
boolean
step
object
{ size: 5, unit: "minute" }
type
string
"time"
value
string
The date must be provided as iso date string
Example:
2012-12-12 22:33:00

Events

Event Description Passes
focus
invalid
  • undefined

CSS classes

.k-time-input