ant-design/components/upload
shlice 38a7a87690 feat: enhance handleRemove in Upload (#5974)
onRemove will be executed when removing file button is clicked, remove event will be prevented when return value is false.
But, if we want't to popup a confirm dialog, it can't block the execution of onRemove.
So, I add Promise support for onRemove. The return value of onRemove now can be a Promise, and the handleRemove function in Upload can wait for the non-blocking confirm dialog.
2017-05-02 16:31:39 +08:00
..
__tests__ fix typo 2017-04-30 18:47:15 +08:00
demo upload (#5210) 2017-03-08 18:02:15 +08:00
style update upload (#5401) 2017-03-20 16:44:29 +08:00
Dragger.tsx Fix style prop of Upload.Dragger 2017-04-13 17:33:08 +08:00
index.en-US.md feat: enhance handleRemove in Upload (#5974) 2017-05-02 16:31:39 +08:00
index.tsx Fix upload (#5358) 2017-03-17 11:47:05 +08:00
index.zh-CN.md feat: enhance handleRemove in Upload (#5974) 2017-05-02 16:31:39 +08:00
interface.tsx [WIP] upgrade deps (#5455) 2017-03-23 21:15:49 +08:00
Upload.tsx feat: enhance handleRemove in Upload (#5974) 2017-05-02 16:31:39 +08:00
UploadList.tsx update upload (#5401) 2017-03-20 16:44:29 +08:00
utils.tsx Fix upload (#5358) 2017-03-17 11:47:05 +08:00