Skip to content

Kirby 3.6.6

Text input

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

Props

Prop Type Default Description
autocomplete
boolean|string
"off"
autofocus
boolean
disabled
boolean
id
number|string
function() { return this._uid; }
maxlength
number
minlength
number
name
number|string
pattern
string
placeholder
string
preselect
boolean
required
boolean
spellcheck
boolean|string
"off"
type
string
"text"
value
string

Events

Event Description Passes
input
invalid
  • undefined

CSS classes

.k-text-input