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
afc163
81a8d71ec3
Fix Input className to wrapper, close #6809
7 years ago
Graeme Yeates
7b916da2ae
Use input-padding-horizontal to control autocomplete placeholder placing
8 years ago
afc163
14844eb0e0
Fix AutoComplete and Input Group vertical align issue
8 years ago
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
8 years ago
Mitchell Demler
fa44de3faa
refactor: rearrange AbstractSelectProps so that AutoCompleteProps has access to some needed SelectProps ( #6205 )
8 years ago
Benjy Cui
12a6060304
docs: fix code style
8 years ago
陆离
158536bbd9
Autocomplete height style fix ( #6059 )
+ close #6058
8 years ago
kossel
169e0f9762
fix: issue 5834, autocomplete is not being decorated ( #6018 )
8 years ago
afc163
9e018a7310
fix test case, #5999
8 years ago
afc163
290a779916
fix test case, #5999
8 years ago
RaoHai
650ab28b59
set filterOption to false
+ close #5860
8 years ago