Skip to content

Kirby 3.6.1.1

Date input

<k-date-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="date" type="date" name="date" />

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" }
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-input