File-upload <x-file-upload>
Properties
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
btnClass
|
btn-class
|
string
|
''
|
|
inputNameFilename
|
input-name
|
string
|
''
|
|
inputNameFilesize
|
input-name-file
|
string
|
''
|
|
inputNameFile
|
file-to-upload-name
|
string
|
''
|
|
label
|
mime-types-text
|
string
|
Upload bestand
|
|
labelClass
|
mime-types
|
string
|
''
|
|
hideLabel
|
max-filesize
|
boolean
|
false
|
|
fileToUploadName
|
filesize
|
string
|
''
|
|
mimeTypesText
|
filename
|
string
|
''
|
|
mimeTypes
|
file-upload-title
|
string
|
''
|
|
error
|
file-to-reupload-name
|
string
|
''
|
|
fileToReuploadName
|
required
|
string
|
''
|
|
filesize
|
error
|
string
|
-
|
Voorbeeldcode:
<x-file-upload
:btn-class="'w-50 minw-238'"
input-name-filename="Voorbeeld bestand"
input-name-file="Voorbeeld update"
file-to-upload-name="Voorbeeld bestand"
:mime-types="'jpg, jpeg, png, pdf, webp'"
:max-filesize="10"
:filesize="3"
filename="Voorbeeld bestand"
file-upload-title="Upload bewijs"
file-to-reupload-name="Voorbeeld bestand
:required="true ?? ''"
error="Voorbeeld error"
/>
Dit bestand is te groot. De maximale bestandsgrootte is 10 MB.
Upload "Voorbeeld bestand" a.u.b. opnieuw.