vbFileInput
Bulma documentationSource code
A file upload input
Slots
default
An icon placed before the file label
Props
label
Type: string
Text to display with the file input; prompt
fileName
Type: string
| undefined
The name of the file to display, i.e. the selected file
size
Type: BulmaSize
| undefined
The size of the file input
colour
Type: BulmaColour
| undefined
The colour of the file input
alignment
Type: BulmaAlignment
| undefined
The alignment of the file input
isBoxed
Type: boolean
| undefined
If the file input should have a boxed display; contents are displayed one on top of one another
isFullwidth
Requires is-boxed or a file name
Type: boolean
| undefined
expand the name or input to fill up the available space
Emits
update:modelValue
Emitted when the file input is changed
(name: 'update:modelValue', newValue: FileList | string) => void {}