ddcat1115
|
24e6fb4ba6
|
fix Modal.confirm error when onCancel not set (#5294)
* fix Modal.confirm error when onCancel not set
* add test case
|
8 years ago |
ddcat1115
|
e07cdf5387
|
add left out event parameters for Modal[onOk] Popconfirm[onConfirm] Popconfirm[onCancel] (#5042)
|
8 years ago |
afc163
|
5e0f5e1902
|
rewrite Modal demos to es6 component, #4878
|
8 years ago |
afc163
|
b427adec21
|
docs: add instrunction about footer={null}
|
8 years ago |
Benjy Cui
|
200b88246f
|
docs: update docs format
|
8 years ago |
afc163
|
0eb5c689a3
|
remove type="ghost" from demo
|
8 years ago |
Benjy Cui
|
3e17551b7e
|
site: improve build speed
|
8 years ago |
afc163
|
f9319e244b
|
Add compatible css centered demo code, close #3849
|
8 years ago |
afc163
|
66891a7cc0
|
update demo text
|
8 years ago |
afc163
|
bbe6606dc3
|
fix demo
|
8 years ago |
Benjy Cui
|
25cb3e2d30
|
docs: update demo to catch errors, close: #2912
|
8 years ago |
Andrew Murray
|
0d00c5fb6c
|
docs: Fixed typos (#2921)
|
8 years ago |
afc163
|
77949bb9e3
|
upgrade eslint-config, close #2811
|
8 years ago |
Benjy Cui
|
2ed192db52
|
docs: fix demo style
|
8 years ago |
Gray Choi
|
5c2087311f
|
docs: translate modal (#2634)
|
8 years ago |
陆离
|
0b3146dba0
|
modal destroy (#2124)
* modal destroy
* document and typo
* remove blank line
|
9 years ago |
Benjy Cui
|
2144349741
|
style: enable react/jsx-closing-bracket-location
|
9 years ago |
Benjy Cui
|
ecaa6c56c3
|
style: enable comma-dangle
|
9 years ago |
afc163
|
51693994b5
|
upgrade center modal demo
|
9 years ago |
afc163
|
72f68fa003
|
support custom Modal position and add vertical middle demo
|
9 years ago |
afc163
|
03cb74ead5
|
upgrade eslint-config-airbnb version and fix some problems
|
9 years ago |
afc163
|
5ee64fe105
|
Add Modal.warning
|
9 years ago |
afc163
|
4c60da7316
|
Modal.confirm, iconClassName => iconType
|
9 years ago |
Benjy Cui
|
df3ba36720
|
docs: remove useless newline in documentation
|
9 years ago |
Benjy Cui
|
03d09b66e8
|
docs: update demo format
|
9 years ago |
afc163
|
04f747770e
|
fix(docs), confirm demo & docs
|
9 years ago |
Benjy Cui
|
c1659c2ce3
|
style: update code style to please lint
|
9 years ago |
Benjy Cui
|
9d022ff84c
|
style: update code style to please lint
|
9 years ago |
afc163
|
6700dbba2a
|
Fix Modal onCancel argument, ref #980
|
9 years ago |
Benjy Cui
|
68b51e298d
|
style: update code style for space-before-function-paren
|
9 years ago |
afc163
|
66b7ee81ad
|
fix eslint problems, eslint-config-airbnb@4.x
|
9 years ago |
Benjy Cui
|
aa5c4f9595
|
style: update code style to please lint
|
9 years ago |
Benjy Cui
|
209170e813
|
style: update demo code style to please lint
|
9 years ago |
afc163
|
91bd7f22c0
|
use mountNode replace the long getElementById
|
9 years ago |
afc163
|
16abf46071
|
Fix markdown eslint errors, update .eslintrc
|
9 years ago |
shelwin
|
042f016dd4
|
update modal confirm demo
|
9 years ago |
Benjy Cui
|
b110b8787b
|
docs: update demos
|
9 years ago |
Benjy Cui
|
fdd9ef7d18
|
feat: Modal should support internationalization
|
9 years ago |
afc163
|
753c01ae18
|
ES6 syntax for demo code
fix antd.notification
|
9 years ago |
afc163
|
e19186f783
|
confirmLoading is fully controlled by props now, fix #392
|
9 years ago |
afc163
|
5a50df6b78
|
use ghost button to match primary button
|
9 years ago |
afc163
|
cad3fdff45
|
lg => large, sm => small
|
9 years ago |
yiminghe
|
76b0f673ec
|
beta2
|
9 years ago |
afc163
|
ed7114e25e
|
update modal info
|
9 years ago |
Benjy Cui
|
5b86a4be1d
|
refactor: replace `button` tag with `Button` component
|
9 years ago |
afc163
|
176adab763
|
update modal basic demo
|
9 years ago |
afc163
|
c5cab1d687
|
Add confirmLoading prop for Modal
You can use `confirmLoading` to cancel button loading status.
```
onOk() {
...
this.setState({
confirmLoading: false
});
}
```
Fix #322
|
9 years ago |
afc163
|
d6a4094bc4
|
Allow multiple confirm dialogs popup
|
9 years ago |
afc163
|
6dbb7ba8ba
|
update confirm modal button text
|
9 years ago |
afc163
|
0ac1f76553
|
Fix visible state bug in handleCancel
|
9 years ago |