Skip to content

Kirby 3.7.5

Users field

<k-users-field>

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.

Props

Prop Type Default Description
counter
boolean|object
disabled
boolean
empty
string
endpoints
object
help
string
info
string
input
string|number
label
string
layout
string
Supported values:
list, cards
"list"
Switches the layout of the items
link
boolean
max
number
multiple
boolean
If false, only a single item can be selected
name
number|string
parent
string
required
boolean
search
boolean
size
string
text
string
translate
boolean
type
string
value
array
[]

Events

Event Description Passes
blur
change
focus
input

Slots

Slot Description
counter
default
footer
header
help
label
options

CSS classes

.k-users-field