afc163
9a5894c46e
data should be call when beforeUpload promise resolved, close #7833
2017-10-09 19:41:52 +08:00
niko
9dc4102cdd
fix: should trigger onChange before beforeUpload
2017-09-29 03:52:16 -05:00
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
2017-07-03 16:57:11 +08:00
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
Manjit Kumar
4e055ed5d0
use PropTypes from 'prop-types' mdoule instead of React
...
- as React.PropTypes is being deprecated
- Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
- Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
2017-04-12 02:22:05 +05:30
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
...
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
natergj
c2cb111f7b
fix: Upload should work with LocaleProvider ( #5388 )
2017-03-20 15:20:15 +08:00
Benjy Cui
be13831d92
Fix upload ( #5358 )
...
* docs: add demo to re-produce bug
* fix: dragger should work with form decorator, close : #5334
* test: update snapshot
2017-03-17 11:47:05 +08:00