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:
<form-file />
tagid
, disabled
, accept
and state
prop as requiredLearn more about the Bootstrap-vue Form File component
id
- Used to set the id
attribute on the rendered content, and used as the base to generate any additional element IDs as neededdisabled
- When set to true
, 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. true
for valid, false
for invalid, or null
for no validation state<form-file id="image-file" accept=".tar" > </form-file>