Upload fileaction is used to upload a single or multiple files.
You can setup its arguments choosing a
File typethat will be uploaded, a
File amountand a
Loading typethat 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
Successwhen the upload executes without any errors and shows the message
Errorwhen the upload throws an error. The
errorvariable will be exposed in case of an error and a
filesvariable will be exposed in case of a success, depending if its a single file or multiple files upload.