Reference

Guide

Checkbox Input

<k-checkbox-input>

<k-input v-model="checkbox" type="checkbox" />

Props

autofocus

Boolean (default: false)

If true, the input will be instantly focused when the form is created

disabled

Boolean (default: false)

If true, the input is disabled and cannot be filled in or edited

id

String (default: null)

The id for the input element.

required

Boolean (default: false)

If true, the input must not be empty

value / v-model

Boolean (default: null)

Methods

focus()

The focus event can be used to set the focus on the input.

Events

@input

The input event is triggered when the value changes.

@invalid

The invalid event is triggered when the input validation fails. This can be used to react on errors immediately.

CSS class

.k-email-input