FilePicker

This component allows you to create a file picker input component. It depends on ValidationObserver, extend, required, ext and size from Vee Validate.

Example

FilePicker

<file-picker
    :supported-extensions="['.docx', '.text']"
    :max-size="10"
/>

Props

NameDescriptionTypeRequiredDefault
vidAllows you to indicate the vid for the ValidationProviderStringfalseundefined
horizontalAllows you to indicate if the component will be horizontal or notBooleanfalsetrue
labelInsideAllows you to indicate if the label will be inside of the inputBooleanfalsefalse
labelOnBorderAllows you to indicate if the label will be on the border of the inputBooleanfalsefalse
validationModeValidation mode for ValidationProviderStringfalse"aggressive"
supportedExtensionsAllows you to indicate the supported file extensionsArrayfalse
maxSizeAllows you to indicate the max size for the files you will selectNumberfalseundefined
isRequiredAllows you to indicate if the input is requiredBooleanfalsetrue

Events

Event NameDescriptionParameters
input--