You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/javascript/ui/upload.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1240,6 +1240,8 @@ Removes all files for which the callback function returns `true` by sending a st
1240
1240
1241
1241
> The invoking of the `removeFile` method does not trigger the `remove` event.
1242
1242
1243
+
> In a chunk upload scenario the method will not work for files that are not fully uploaded and saved. To remove a file that has been canceled call the `remove` handler manually.
1244
+
1243
1245
#### Example
1244
1246
1245
1247
<input name="files" id="files" type="file" />
@@ -1390,6 +1392,8 @@ Fires when the upload was cancelled while in progress.
1390
1392
1391
1393
> The `cancel` event fires only when the Upload is in [async mode](/web/upload/modes#asynchronous-mode).
1392
1394
1395
+
> To remove the data of a file that has been canceled, manually call the `remove` handler. For more information refer to the limitation of the [`removeFile` method](/api/javascript/ui/upload/methods/removefile)
0 commit comments