Skip to content

Commit 7651c1f

Browse files
committed
Upload type correction
1 parent bb5ec86 commit 7651c1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/ff-concepts/file-handling/upload-save-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Go to your project page on FlutterFlow and follow the steps below to define the
7575
2. Select **Actions** from the Properties panel (the right menu), and click **Open**. This will open an **Action Flow Editor** in a new popup window.
7676
3. Click on the **+ Add Action**.
7777
4. Search and select the **Upload/Save File** (under *Utilities > Upload Data*) action.
78-
5. Set the [**Upload Type**](upload-data.md#types-of-upload). If you haven't integrated Firebase or Supabase yet, the default upload type will be *Local (Widget State)*.
78+
5. If you haven't integrated Firebase or Supabase yet, the default upload type will be **[Store media for upload](upload-data.md#local-upload-widget-state)**. However, once integrated, you can choose the **Upload Type** as [Firebase](upload-data.md#firebase), [Supabase](upload-data.md#supabase) or [Local (Widget State)](upload-data.md#local-upload-widget-state).
7979
6. Use the **File Type** dropdown to specify whether you want to upload a **PDF**, **Audio (MP3),** **ANY,** or **Uploaded Media**. The *Uploaded Media* option is there for uploading the media stored on the device. If you choose **Uploaded Media**, ensure you add one more same action (before this action) with **Upload Type** set to [**Local Upload (Widget State)**](upload-data.md#local-upload-widget-state).
8080
7. You can **Allow multiple Files** to be uploaded. After the multiple files are uploaded, you can access them via *Set from Variable menu > Widget State > Uploaded File URLs (`List <String>`).*
8181
8. To let users know whether the file is still being uploaded, you can enable the 'Show Snackbar' option.

docs/ff-concepts/file-handling/upload-save-media.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Follow the steps below to add this action to any widget.
7676
1. Select the **Widget** (e.g., Button) on which you want to add the action.
7777
2. Select **Actions** from the **Properties Panel** (the right menu), and click **Open**. This will open an **Action Flow Editor** in a new popup window. If it's the first action, click **+ Add Action** button. Otherwise, click the "**+**" button below the previous action tile and select **Add Action**.
7878
3. Search and select the **Upload/Save Media** (under *Utilities > Upload Data*) action.
79-
4. Set the **Upload Type**. If you haven't integrated Firebase or Supabase yet, the default upload type will be *Local (Widget State)*.
79+
4. If you haven't integrated Firebase or Supabase yet, the default upload type will be **[Store media for upload](upload-data.md#local-upload-widget-state)**. However, once integrated, you can choose the **Upload Type** as [Firebase](upload-data.md#firebase), [Supabase](upload-data.md#supabase) or [Local (Widget State)](upload-data.md#local-upload-widget-state).
8080
5. Use the **Media Type/Source** to specify whether you want to upload a photo or a video, or both using this action.
8181
6. Using **Media Source** dropdown, you can choose between ***Camera***, ***Gallery**,* and ***Either Camera or Gallery*** (this option will bring up a bottom sheet from where the user can choose the media source as Camera or Gallery) and **Uploaded Media**. If you choose **Uploaded Media**, ensure you add one more same action (before this action) with **Upload Type** set to **Local Upload (Widget State)**.
8282
7. If you are uploading a photo, you can set a maximum width and height for it by using the **Max Width** and **Max Height** properties, respectively. This will modify the image dimension by maintaining the photo's aspect ratio.

0 commit comments

Comments
 (0)