Skip to content

Kirby 3.6.6

Checkbox input

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

Props

Prop Type Default Description
autofocus
boolean
disabled
boolean
id
number|string
function() { return this._uid; }
label
string
required
boolean
value
boolean

Events

Event Description Passes
input
The input event is triggered when the value changes.
  • boolean checked
invalid
The invalid event is triggered when the input validation fails. This can be used to react on errors immediately.
  • undefined

CSS classes

.k-checkbox-input