Commit Graph

506 Commits

Author SHA1 Message Date
偏右
ae44aae0d3
🐛 fix Input.Group compact border issue (#19926)
close #19914
2019-11-25 19:08:33 +08:00
yoyo837
9e27697e93 doc: Input.TextArea property allowClear add 'since', ref #19310 2019-11-07 11:38:36 +08:00
zombiej
5bf96bbb51 merge master 2019-11-04 10:49:45 +08:00
Rustin
767d2d0638 feat: Add allowClear to TextArea (#19310)
* add allow clear to textarea

revert textarea md

refactor textarea css

fix textarea props bug

add test and update snapshot

update doc

add margin

refactor textarea to reuse fixControlledValue and setValue method

add clearable input to reuse code

refactor clearable input

finish refactor

refactor clearable input

refactor input and textArea

finish refactor

update test snapshots

fix input props bug

fix dom issue

fix textarea dom issue

fix textarea test bug

fix textarea dom issue

refactor code and fix textarea dom issue

fix input dom issue

fix typo error

update test snapshots

fix ci failed issues

adjust margin

* remove useless code fix ci failed issue

* fix textarea padding issue

* update snapshots

* fix padding issue
2019-11-01 18:19:29 +08:00
Rustin
fdf38f41d7 fix: modify textarea resize demo defaultValue to english (#19348)
* modify textarea defaultValue to english

* update test snapshots
2019-10-29 10:08:27 +08:00
zhangzh
670fbe3843 docs: add "maxLength" property to Input Doc 2019-10-25 16:20:18 +08:00
afc163
0e4b90c52f increase code cov 2019-10-23 11:55:42 +08:00
afc163
f1cd910b4e update snapshots 2019-10-23 11:55:42 +08:00
afc163
0604a09590 update demo and test case 2019-10-23 11:55:42 +08:00
afc163
b882b8dd2f 🐛 Fix non-boolean attribute and unique key warning
close #19303
close #19354
2019-10-23 11:55:42 +08:00
yoyo837
fb2bafbfdc upgrade snapshot 2019-10-15 19:13:38 +08:00
yoyo837
a9d7178c2b upgrade snapshot 2019-10-15 18:10:04 +08:00
afc163
8e2b2470b2 update snapshots 2019-10-15 17:47:10 +08:00
Wei Zhu
a72f43b2c1
Merge pull request #19206 from ant-design/feature
Merge features
2019-10-15 14:36:41 +08:00
afc163
0b1894e83a 📝 deprecated info of autosize 2019-10-15 13:50:14 +08:00
zombiej
04a27deb2b merge master 2019-10-14 10:53:35 +08:00
Liming Jin
311a6c0917 fix: replace autosize with autoSize 2019-10-11 23:39:30 +08:00
Rodrigo Ehlers
36a7621bb3 add clear-icon click 2019-10-09 22:29:13 +08:00
啸生
71b53b7175
master to feature (#19062)
*  increase upload test cov

* chore: replace resizeObserver with `rc-resize-observer` (#19057)

* replace resizeObserver with rc-resize-observer

* fix affix lint

* fix es lint

* changelog (#19056)

* Release 3.23.5
2019-09-30 10:31:36 +08:00
二货机器人
e07bba91fa
chore: replace resizeObserver with rc-resize-observer (#19057)
* replace resizeObserver with rc-resize-observer

* fix affix lint

* fix es lint
2019-09-29 04:56:56 -05:00
只捱宅
dc0dfea201
Merge pull request #19049 from ant-design/master
chore: Merge master into feature
2019-09-28 19:27:19 +08:00
绯一
8219438ecd Fix/detect antd button by static (#19045)
* fix: detect antd button by children.type.[staticProperty] instead of same class for HOC case

* fix: chore
2019-09-28 13:52:59 +08:00
绯一
049799ed0f fix: detect antd button by children.type.[staticProperty] instead of same class for HOC case (#19042) 2019-09-28 10:20:47 +08:00
ahauzq
49c9ee40b4 Input.tsx的otherProps为什么不去掉size
我觉得你们的otherProps推导竟然是any,所以不写size没报错
2019-09-27 02:16:45 +08:00
afc163
46d0ff3e00 update snapshot 2019-09-26 14:03:17 +08:00
fkysly
e9b0c29f55 Rename algin.md to align.md 2019-09-26 14:02:14 +08:00
偏右
9e9abfdc79
Merge branch 'feature' into master-for-merge 2019-09-23 15:33:43 +08:00
Wensheng Xu
1d8c6f8d82 fix: Disabled input should not trigger the action of suffix part #18889 2019-09-20 13:06:25 +08:00
afc163
b188a5e4d2 🐛 Fix Input.Group icon height in Chrome
close #18856
2019-09-17 15:27:41 +08:00
偏右
1200f7fe00
Merge branch 'feature' into master-to-merge 2019-09-14 15:40:33 +08:00
afc163
09810a28d9 fix test cov for Search onChange 2019-09-13 13:26:53 +08:00
afc163
6f695b050e 🐛 Input.Search should trigger onSearch when clear
close #18729
2019-09-13 13:26:53 +08:00
骗你是小猫咪
5cd01d0470 feat(Input.Search): add loading prop (#18771)
* feat(Input.Search): add loading prop

* fix: review change

* optimize input search loading prop doc

* fix: ci fail and onSearch disabled when loading
2019-09-12 22:32:29 +08:00
afc163
97f6ac9fc6 fix stylelint 2019-09-03 19:04:37 +08:00
二货机器人
cc9c65828a
fix: Chrome input position not align with button (#18603)
* add debug

* fix: Chrome input position not align with button

* fix lint
2019-09-02 15:35:42 +08:00
xrkffgg
273c57676f fix: Input.Password Icon Position (#18521) 2019-08-28 14:06:15 +08:00
afc163
f8ed99ab57 missing components 2019-08-27 18:31:01 +08:00
afc163
a51f7a0508 test unmount 2019-08-27 18:31:01 +08:00
偏右
26c61a12d5
🐛 Input disabled should not be allowed to clear (#18482)
close #18481
2019-08-26 22:58:00 +08:00
偏右
c9a703d9fb
🐛 Fix Input.Password unmount crash (#18475)
close #18473
2019-08-26 15:33:42 +08:00
偏右
c6c947fd28
🐛 Fix Input.Password cannot get input element (#18441)
close #18412
2019-08-24 00:25:45 +08:00
二货机器人
b9b9675fe1
fix: Not shaking with autosize of TextArea (#18401)
* fix: Not shaking with autosize of TextArea

* fix ract 15 demo

* fix demo

* add state

* handle event

* try to fix react 15 test case
2019-08-22 11:55:37 +08:00
afc163
488ef9ff94 🐛 Fix Input align broken in IE11
close #18347
close #18313
close #17753

The fix of #17759 did not resolve IE11
2019-08-19 17:24:38 +08:00
偏右
2cadd5be9f fix: Input clear icon align problem (#18151)
* 🐛 Fix Input clear icon align problem

close #18150
close #17414

* Update index.less
2019-08-08 15:09:36 +08:00
orzyyyy
47fd80c8ad fix: disable next line instead of the whole file 2019-08-06 15:36:13 +08:00
orzyyyy
b054ce3874 chore: adjust indent & revert demo & fix lint problem 2019-08-06 15:36:13 +08:00
orzyyyy
63b33d4020 fix: unexpected changes of snapshots 2019-08-06 15:36:12 +08:00
orzyyyy
649e8127c5 fix: lint:style 2019-08-06 15:31:59 +08:00
zombieJ
3a8fcd6281
fix: Textarea show scroll when autosize (#18114)
* fix: Textarea show scroll when autosize

* clean up
2019-08-06 15:29:13 +08:00
zombieJ
197649bf5e
fix: Revert #17684 (#18097)
* fix: Revert #17684

* update snapshot

* gt di
2019-08-05 22:14:00 +08:00