FileInput
A comprehensive file picker that handles selection, multiple files, and integrated file display.
Install: pnpm add-component Fields/FileInput
Single file
The standard mode for picking one file.
Multiple files
Pick and manage a list of files with integrated removal.
Uploading state
Show a loading indicator on the trigger button.
API
modelValue(any | any[]): Selected file(s) (v-model).label(string): Field label.accept(string): Allowed file types (e.g. "image/*").multiple(boolean): Allow picking multiple files.buttonLabel(string): Text for the trigger button.loading(boolean): Show loading state on the trigger button.loadingLabel(string): Label shown while loading.