Skip to content

Kirby 3.6.6

Date time input

<k-date-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.

Props

Prop Type Default Description
autofocus
boolean
disabled
boolean
display
string
"DD.MM.YYYY"
id
number|string
function() { return this._uid; }
max
string
The last allowed date
min
string
The first allowed date
required
boolean
step
object
{ size: 1, unit: "day" }
time
boolean|object
function() { return {}; }
type
string
"date"
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-date-time-input