abstra-docs
Search…
Upload file
The Upload file action is used to upload a single or multiple files.
You can setup its arguments choosing a File type that will be uploaded, a File amount and a Loading type that can give no feedback to the users of your app or block them from doing anything until all files are uploaded.
You can trigger subsequent actions in case of success or error. The example below shows the message Success when the upload executes without any errors and shows the message Error when the upload throws an error. The error variable will be exposed in case of an error and a file or files variable will be exposed in case of a success, depending if its a single file or multiple files upload.
Copy link