Files
ant-design/components/upload
shliceandBenjy Cui 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
..
2017-04-30 18:47:15 +08:00
2017-03-08 18:02:15 +08:00
2017-03-20 16:44:29 +08:00
2017-04-13 17:33:08 +08:00
2017-03-17 11:47:05 +08:00
2017-03-23 21:15:49 +08:00
2017-03-20 16:44:29 +08:00
2017-03-17 11:47:05 +08:00