HeskeyBaozi
35974d67b2
update test snap shot
6 years ago
HeskeyBaozi
0a8f964935
update test snap shot
6 years ago
17073025
c31371e5a6
fix(auto-complete): add missing autoFocus prop in type
6 years ago
HeskeyBaozi
ee16585b6d
update test cases
6 years ago
zombiej
2ad0bc0395
close #11380 . Fix desciption of auto complete
6 years ago
HeskeyBaozi
4a553a2006
upgrade test cases
6 years ago
HeskeyBaozi
8df086f022
update test cases
6 years ago
HeskeyBaozi
9338f33c1c
update test cases
6 years ago
afc163
009ed08580
upgrade eslint-config-airbnb
7 years ago
Wei Zhu
6de4b00815
Rename mode name
7 years ago
Wei Zhu
5eaa03b4ea
Update snapshot
7 years ago
Wei Zhu
aa580beb8b
docs: sort api table
7 years ago
Wei Zhu
2d2aceb9d3
docs: document AutoComplete onFocus and onBlur
7 years ago
pbrink231
5302400e62
added onBlur & onFocus functions to properties ( #10920 )
These can be called just like onChange as a property in the autocomplete but are not documented right now.
7 years ago
ryannz
a5ff8e5de0
fix(AutoComplete): add missing backfill prop in type
7 years ago
Wei Zhu
4d6f8e96b9
Improve AutoComplete types
close #10619
7 years ago
Junbin Huang
3a3d550b54
chore: upgrade menu ( #10305 )
* chore: upgrade menu and select
* Add test case for coverage percent
7 years ago
Pierre
09fec16b6f
[TS] AutoComplete : Make dataSource optional ( #10077 )
When using children :
https://ant.design/components/auto-complete/#components-auto-complete-demo-options
7 years ago
Sunny Wong
f7d571191a
Update incorrect signature for onChange
7 years ago
Wei Zhu
999d6184ad
docs: Sort api table
7 years ago
GauravV-02
fffde2d836
Resolved type name collisions ( #8605 )
7 years ago
Wei Zhu
d2dc88c470
Add focus() and blur() document
Close #3790
7 years ago
Wei Zhu
c27d4deb72
Fix implicit any error for AutoComplete
7 years ago
Wei Zhu
9678d3fcfd
Focus && blur support ( #8204 )
* Add test for select
* Add focus() and blur() for AutoComplete
* Add focus() and blur() to Cascader
* Add focus test for input
* Add focus() and blur() for Checkbox
* Add focus() and blur() for Radio
* Add focus() and blur() for Switch
* Add blur() for TimePicker
* Add focus() and blur() to TreeSelect
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
afc163
4790f84657
Fix AutoComplete and Input affix style conflict, close #8081
7 years ago
Benjy Cui
51785aa6eb
deps: upgrade TypeScript to 2.6, close #8018
7 years ago
Wei Zhu
36227a10db
docs: sort api table
7 years ago
monkindey
ea926fecaf
also resolve conflicted file
7 years ago
monkindey
0bc5936b23
resolve conflicted files
7 years ago
syssam
f8b7aad53d
less variable @form-vertical-label-padding , @form-vertical-label-margin , @input-padding-horizontal-base , @input-padding-horizontal-sm , @input-padding-horizontal-lg ( #7886 ) ( #7919 )
7 years ago
afc163
f74252b9de
Fix input height in AutoComplete
7 years ago
afc163
43d8c6ad37
Fix input height in AutoComplete
7 years ago
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
7 years ago
afc163
942ea41b02
update snapshot for new jest
7 years ago
afc163
95c72958ca
Fix AutoCompelete layout, close #7800
7 years ago
afc163
76a972e062
Fix AutoComplete snapshot
7 years ago
afc163
76a30a7686
Fix props passing of AutoComplete, ref #7742
7 years ago
afc163
ca255cc547
Tweak AutoComplete input line height
7 years ago
jayberg
4acadc47b5
Avoid circular reference with infinite children ( #7742 )
Because {element} is a child of <InputElement>, we get a circular reference when also adding "element.props" to <InputElement>, as <InputElement> will be cloned to <{element}> within InputElement.tsx. As a consequence, we get an infinitive circular loop of Element->Props->Children->Element->Props->Children->Element->Props->Children->…
React seems to detect and automatically fix this infinitive loop. But when using the smaller and faster Inferno as a replacement library of React, we get a "RangeError: Maximum call stack size exceeded".
This commit fixes this bug by not attaching {...element.props} to <InputElement>.
All tests did pass and I did not notice any changes in the behaviour of the AutoComplete component. But now, AutoComplete works also with Inferno and not only with React.
7 years ago
偏右
759b0bb821
seperate reset styles ( #7682 )
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
7 years ago
Wei Zhu
250c7a9c68
Revert "Mock rc-trigger"
This reverts commit 9d2c91598b
.
7 years ago
Wei Zhu
9d2c91598b
Mock rc-trigger
Ref #5522
7 years ago
Wei Zhu
bac4d04844
docs: typo
7 years ago
Wei Zhu
ad3e49e397
docs: Add backfill to AutoComplete
7 years ago
Benjy Cui
e061ada71a
test: fix CI
7 years ago
Benjy Cui
26d746bd8f
fix: should support child.ref in AutoComplete, close : #6814 ( #7237 )
7 years ago
neekey
7e522291c8
add unit `px` to all less value, make them explicit
7 years ago
Benjy Cui
2413c6af61
fix: make loading work with icon only button in button group, close : #6822
7 years ago
afc163
ca89227568
test: fix snapshot
7 years ago