Flow components let us split our app UI into independent, reusable pieces. A page layout in Flow has the following components:
Content – Hidden | Presentation | List | Outcomes | Image
Input – Input | Radio | Checkbox | Toggle | Text | Rich Text | Combobox
Data – File Upload | Table | Files | Tiles
Charts – Bar | Line | Pie | Doughnut | Polar Area
Let’s take a look at the file upload component.
This is what the metadata of the File Upload component looks like:
By default, attributes is to set to null. We can update it with the following code:
We can change the value from true to false based on our requirements.
- Tutorial that uses the File Upload component — Tutorial: Uploading files in Box using an app