Upload fileaction is used to upload a single or multiple files.
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.
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.