File
Angular Bootstrap 5 File
File Input is a field which the user can use to upload one or more files (photos, documents or any other file type) from local storage.
Basic example
The file input is the most gnarly of the bunch and requires additional JavaScript if you’d like to hook them up with functional Choose file… and selected file name text.
This is a mobile version of the documentation.
View this website on the desktop to copy & edit the source code of the component.
Add the disabled
attribute to the <input>
and the custom markup will be updated to appear disabled.
This is a mobile version of the documentation.
View this website on the desktop to copy & edit the source code of the component.
Sizing
You may also choose from small and large file inputs to match our similarly sized text inputs.
This is a mobile version of the documentation.
View this website on the desktop to copy & edit the source code of the component.