Skip to content

Kirby 3.6.6

Files field

<k-files-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.

<k-files-field v-model="files" name="files" label="Files" />

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
uploads
boolean|object|array
value
array
[]

Events

Event Description Passes
blur
change
focus
input

Slots

Slot Description
counter
default
footer
header
help
label
options

CSS classes

.k-files-field