# FormFile
FormFile is a custom component wrapper around the Bootstrap-vue Form File
component. The purpose of this component is to upload files to the BMC.
To use this component:
- Import it into the single file component (SFC)
- Add the
<form-file />tag - Add the optional
id,disabled,acceptandstateprop as required
Learn more about the Bootstrap-vue Form File component (opens new window)
# Optional properties
id- Used to set theidattribute on the rendered content, and used as the base to generate any additional element IDs as neededdisabled- When set totrue, disables the component's functionality and places it in a disabled stateaccept- Set value to specify which file types to allowstate- Controls the validation state appearance of the component.truefor valid,falsefor invalid, ornullfor no validation state
# Example of form file
<form-file
id="image-file"
accept=".tar"
>
</form-file>
← Buttons InfoTooltip →