UploadFileStatus
Describes the current status of a file in the Upload component. Use to determine file state for UI, logic, and error handling.
Definition
Fields
The file is preloaded or in a blank state. Used for initializing file lists. Example: pre-populated file from server.
Blank = 4
The file upload failed. Use to show error messages or retry options. Example: "MyFile.pdf" failed due to network error.
Failed = 3
The file is selected by the user but not yet uploaded. Use to show pending uploads or enable upload actions. Example: "MyFile.pdf" is selected but not uploaded.
Selected = 0
The file has been uploaded successfully. Use to show success messages or allow removal. Example: "MyFile.pdf" upload completed.
Uploaded = 1
The file is currently uploading. Use to display progress bars or cancel options. Example: "MyFile.pdf" is 50% uploaded.
Uploading = 2