二货机器人
4315ac567c
chore: replace omit ( #28846 )
* chore: Replace omit.js with rc-util omit
* chore: Replace omit.js with rc-util omit
* fix ts
* fix ts
* fix ts
4 years ago
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
4 years ago
Tom Xu
986fa9000f
refactor: AutoComplete dataSource prop type ( #27892 )
4 years ago
ElsaOOo
c7d591e9ab
fix: AutoComplete dataSource prop type error ( #27870 )
Co-authored-by: jingjing.ye <jingjing.ye@datayes.com>
4 years ago
Tom Xu
8faccc2563
fix: select ref typescript typo ( #27482 )
* fix: select ref typescript typo
* improve
4 years ago
Tom Xu
b0245e742b
refactor(select): rewrite with hook ( #27318 )
* refactor(select): rewrite with hook
* Update index.tsx
* Update index.tsx
* Update index.tsx
* fix test
* Update index.tsx
* Update index.tsx
4 years ago
偏右
cefb877ab9
fix: AutoComplete warning when using placeholder and allowClear ( #26765 )
close #26760
4 years ago
偏右
481fd209e2
chore: 🆙 upgrade typescript-eslint ( #26600 )
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* fix no use before define
* Update package.json
* fix lint
Co-authored-by: yoyo837 <yoyo837@hotmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
4 years ago
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
close #26594
4 years ago
二手掉包工程师
57190f197b
refactor: clean up some deprecated APIs ( #24881 )
5 years ago
偏右
637aa09bc5
chore: ✅ fix some eslint problems ( #24836 )
* 💄 fix lint
* 💄 fix lint
5 years ago
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
* update config
* replace react function
* fix alert
5 years ago
二货机器人
2e284aa017
chore: small bundle size ( #24135 )
* update warning
* rm warning
* replace with dev warning
* fix test
* fix site
* Update webpack.config.js
Co-authored-by: 偏右 <afc163@gmail.com>
* Update webpack.config.js
* fix sytax
* adjust
* move into function
Co-authored-by: 偏右 <afc163@gmail.com>
5 years ago
二货机器人
7f1f08b4a9
chore: Remove `labelInValue` in AutoComplete props ( #20967 )
5 years ago
zombiej
9bea463638
chore: fix ts define
5 years ago
二货机器人
2ea28af6ed
Virtual select component ( #18658 )
* init
* fix firefox
* add active style
* adjust arrow style
* update select
* update icon logic
* render empty
* init multiple
* fix ff display style
* sync font size
* adjust padding style
* add padding
* padding it
* hotfix of chrome
* single sm
* multiple size
* update option group style
* update snapshot
* clean up transition
* rm combobox in ts define
* auto complete init
* fix auto option def
* update demo
* update demo
* update uncertain demo
* update demo
* warning if user set `size` on AutoComplete
* add debug demo
* updat demo
* update demo of disabled
* update snapshot
* rm useless test
* fix pagination test
* fix Table test
* fix calendar test case
* fix calendar test case
* adjust style
* add big data demo
* support clean up
* fix ts define
* fix lint
* fix demo lint
* fix style lint fix
* rm useless deps
* update snapshot
* stop mock
* add space
5 years ago
yoyo837
e13a87053c
chore(docs): add dropdownMenuStyle props for AutoComplete and Select
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
afc163
0d35b1e3e3
🐛 Omit AutoComplete loading type
close #17432
5 years ago
afc163
57c28def68
revert unknown to any
6 years ago
Zzzen
f1ee189bd2
eliminate `any` type in exported interfaces.#14044
6 years ago
zombieJ
b4050d3d52
fix typescript ( #14587 )
6 years ago
陈帅
daca08b6f1
merge master
6 years ago
wangxingkang
6830623ed9
feat: 完善AutoComplete组件props定义
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
ztplz
e6ddf34c11
Use const instead of let
6 years ago
MuYu
72a6febcc4
fix: select type definition ( #12865 )
* fix: select type definition
* fix: wrapPicker type definition
* fix: select type definition
6 years ago
ycjcl868
09b11b6cde
fix #12498 . improve autoComplete type definition
6 years ago
17073025
c31371e5a6
fix(auto-complete): add missing autoFocus prop in type
6 years ago
Wei Zhu
6de4b00815
Rename mode name
7 years ago
Wei Zhu
5eaa03b4ea
Update snapshot
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
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
GauravV-02
fffde2d836
Resolved type name collisions ( #8605 )
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
76a30a7686
Fix props passing of AutoComplete, ref #7742
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
afc163
81a8d71ec3
Fix Input className to wrapper, close #6809
7 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
afc163
9e018a7310
fix test case, #5999
8 years ago
RaoHai
650ab28b59
set filterOption to false
+ close #5860
8 years ago
乐仪
50b7ce55fe
fix indent of AutoComplete
8 years ago
陆离
b694608af4
`onKeyDown` bug fix ( #5766 )
+ close #5487
8 years ago
Benjy Cui
50f46d0919
feat: merge Select[multiple|tags|combobox] to Select[mode], close : #5471 ( #5534 )
8 years ago