Skip to content

Kirby 3.6.0

Slug input

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

Props

Prop Type Default Description
allow
string
""
autocomplete
boolean|string
"off"
autofocus
boolean
disabled
boolean
formData
object
{}
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"
sync
string
type
string
"text"
value
string

Events

Event Description Passes
input
invalid
  • undefined

CSS classes

.k-slug-input