File Upload: Reference
Reference for File Upload in Web Framework References. Key properties: ID, Name, Static Value, Multiple.
Bootstrap 5 component. Add the component and configure its properties in the Inspector.
Inspector Property Groups
File Input Properties
| Property | Type | Details |
|---|---|---|
| ID | text | Optional unique identifier for this element. Sets the element's id attribute. Keep IDs unique per page (useful for anchors, label for targets, and JavaScript hooks). Bootstrap docs: Introduction Required in common setups. Attribute: id |
| Name | text | File input name attribute. Sets the file input name . This is required for classic multipart form submissions and many upload handlers. Bootstrap docs: File input Required in common setups. Attribute: name |
| Static Value | text | Selected file(s) value. Represents the selected file(s). Browsers restrict programmatic setting of file values for security; typically this is read-only and driven by user selection. Bootstrap docs: File input Attribute: value |
| Multiple | boolean | Allows multiple selection. Enables selecting multiple options in a <select> . When enabled, users can select multiple items (usually using Ctrl/Cmd/Shift depending on platform). Bootstrap docs: Select Attribute: multiple |
Spacing
| Property | Type | Details |
|---|---|---|
| Margin<br>&<br>Padding | spacing | |
| X Gutter | range | Horizontal gutter size. Sets the horizontal gutter (spacing between columns). Uses gx-* utilities to control the horizontal gutter size. Bootstrap docs: Gutters |
| Y Gutter | range | Vertical gutter size. Sets the vertical gutter (spacing between rows). Uses gy-* utilities to control the vertical gutter size. Bootstrap docs: Gutters |
Display
| Property | Type | Details |
|---|---|---|
| Hide on | button_group | Options: xs, sm, md, lg, xl, xxl |
| button_group | ||
| Visually Hidden | boolean | |
| Focusable | boolean |