骗你是小猫咪
4079f36340
Revert "fix: update Select type interface ( #19730 )" ( #19733 )
This reverts commit 8b705e3224
.
5 years ago
cnjs
8b705e3224
fix: update Select type interface ( #19730 )
* fix: update Select type interface
* format: Select type interface
5 years ago
wleven
63feb6860a
Fix Select Mode Type
5 years ago
wleven
9cfc151813
Fix Select Mode Type
5 years ago
wleven
53c55ceaad
Fix Select Mode Type
5 years ago
偏右
7961bb335c
🗑 Remove useless prop `searchValue` ( #19003 )
from typescript and documentation
close #18847
5 years ago
zombiej
aa9b9db4e1
add jsdoc
5 years ago
zombiej
4cac0a9822
warning if user use inputValue
5 years ago
Daphne Won
9dc0378b3f
Add missing typescript inputValue to Select to enable placeholder to display for type string
Reason: RC-Select has this parameter to accept string value and it will
be a quick-fix to enable Typescript to acept inputValue.
Note:
- Added parameter in Documentation
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
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
6853402e00
fix: Select ts define ( #16817 )
6 years ago
SylvanasGone
6eacfd7ebc
fix[Select]: add missing type definition ( #16504 )
* fix[Select]: add missing type definition
* update docs
6 years ago
Mathieu Anderson
6947d1bbaf
fix: TypeScript definitions for Select component's onSelect / onDeselect props, update inaccurate docs ( #16344 )
* Fix value param type for onSelect, onDeselect prop
* Fix docs for Select props (value, defaultValue, onSelect, onDeselect)
6 years ago
陈帅
30508b0124
fix error types ( #16043 )
6 years ago
陈帅
5e298dba51
3.14.0 Changelog ( #15145 )
* add responsive property to carousel (#15071 )
* add responsive property to carousel #15065
* extend carousel props from Slick type definitions #15065
* rm key in OptionProps (#15104 )
* update doc
* fix cascader should tab twice to exist (#15117 )
* fix cascader should tab twice to exist
* update snapshot
* Drawer Body padding should be variable
* fix DatePicker to support an array of formats (#15116 )
ref #13148
* table reader mobile friendly
* up
* up
* doc: add 3.14.0 changelog
* doc: fix ci warning
* doc: fix ci warning
* doc: fix typo
* doc: fix ci warning
* doc: fix ci warning
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* -m
* -m
* doc: fix cr warning
6 years ago
zombieJ
acd06e9cb5
Select multiple mode support showArrow ( #15091 )
* support showArrow
* fix rc-select version
* update snapshot
6 years ago
zombieJ
c5f9ed1d4f
rm key in OptionProps ( #15104 )
6 years ago
zombieJ
4d1a998246
add component param in warning ( #15078 )
* add component param in warning
* update snapshot
6 years ago
TomIsion
44005529db
getPopupContainer callback param should be optional
6 years ago
ztplz
0b8fadd24c
Update
6 years ago
ztplz
ab2dd31087
Add types for warning
6 years ago
zombieJ
2164c58198
New Component: Empty ( #13651 )
6 years ago
frezc
5f9b376456
[type] make type of components compatible with ComponentType<P>
6 years ago
afc163
3a25ef8d14
💄 Fix lgtm alerts
https://lgtm.com/projects/g/ant-design/ant-design/alerts/?mode=list
6 years ago
偏右
a127ba6789
Update index.tsx
6 years ago
sylvanasGone
b71301b65f
fix: add missing parameter
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
afc163
e1d3d2b3e1
✨ Add `dropdownRender` `loading` for Select
close #10831
close #7988
close #13151
close #11225
close #9888
6 years ago
zombieJ
9b49fb60d9
Config provider ( #12991 )
close #12985
6 years ago
Wei Zhu
ab6c44dd1f
types: add generic type for Select[value]
usage:
const handleChange = (value: string) => {}
<Select<string> onChange={handleChange} >
6 years ago
Joao Rabelo
4f51ff5277
Adding rcselect 'showAction' to AbstractSelectProps to avoid linting errors when used through antd Select component
The usage of this prop was discussed over #6873
6 years ago
Cheng Liu
b979c34420
💄 pass the specified class to custom icon as well
6 years ago
Cheng Liu
0d7963236c
feat(select): customize remove/clear/menuItemSelected icons
6 years ago
zombiej
301c97d61c
fix onPopupScroll def. ref #12913
6 years ago
LLinFan-
bbd9556801
update select props :onPopupScroll
update select props type:onPopupScroll
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
Dimitri Mitropoulos
8eaf66be0e
adds missing Select.Option type for style ( #12609 )
6 years ago
Ilan
bd2a58f745
✏️ updating select option types
6 years ago
Johannes Loewe
0126c63b2d
fix #11312 : add autoClearSearchValue to AbstractSelectProps ( #12473 )
- extends the interface with an optional prop that can be provided to the RcSelect
First of all, thank you for your contribution! :-)
Please makes sure that these checkboxes are checked before submitting your PR, thank you!
* [ x ] Make sure that you propose PR to right branch: bugfix for `master`, feature for branch `feature`.
* [ x ] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd ).
* [ x ] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [ x ] Rebase before creating a PR to keep commit history clear.
* [ x ] Add some descriptions and refer relative issues for you PR.
Extra checklist:
**if** *isBugFix* **:**
* [ ] Make sure that you add at least one unit test for the bug which you had fixed.
**elif** *isNewFeature* **:**
* [ ] Update API docs for the component.
* [ ] Update/Add demo to demonstrate new feature.
* [ ] Update TypeScript definition for the component.
* [ ] Add unit tests for the feature.
This fix is related to Issue #11312 and adds the optional `autoClearSearchValue` prop which can be supplied to `RcSelect` to the Select´s props. This is not really a new feature and a relatively unsubstantial one a that, so I didn´t add a demo for it, but I could do so if that´s desirable.
I updated the English API docs, but I´m not a Chinese speaker so there is no addition to the Chinese documentation. Maybe someone speaking Chinese would be willing to help out.
6 years ago
HeskeyBaozi
a2520b02c9
select: suffix -> suffixIcon
6 years ago
HeskeyBaozi
a01450debb
add suffix interface to select
6 years ago
Yang
a3c1444a20
doc: add dropdown control props ( #12323 )
6 years ago
包子熊
4eb7d8f693
Hotfix(Select) add select clear icon ( #12196 )
close #12181
6 years ago
HeskeyBaozi
ace857d8bf
add check icon in multi select
6 years ago
afc163
7396948c96
support controlled open for Select, close #10482
6 years ago
HeskeyBaozi
abfd50a7bf
use component
6 years ago