Havin
2c4c5fc6e3
move getPopupContainer from SelectProps to AbstractSelectProps ( #11690 )
6 years ago
Wei Zhu
064bfaf554
Add @types/prop-types
6 years ago
This JJ
2e7d08e98f
Add id to Select props ( #11189 )
* Can set id to props on Select
* Update index.tsx
6 years ago
Daniel Zhang
308cb046e4
Add onMouseEnter and onMouseLeave to SelectProps ( #11314 )
6 years ago
Yury Kozyrev
cde2a6b6f0
Add missing showArrow option in types
7 years ago
Wei Zhu
6de4b00815
Rename mode name
7 years ago
Wei Zhu
5eaa03b4ea
Update snapshot
7 years ago
Wei Zhu
53046a454a
Deprecate combobox mode of Select
7 years ago
zombiej
78adc05973
close #10745 , move dropdownMatchSelectWidth into AbstractSelectProps
7 years ago
Junbin Huang
bbf5cb75c3
chore: update typescript@~2.9.1 ( #10748 )
7 years ago
Dmitry Snegirev
fd96b4a784
Added missing prop firstActiveValue in Select component ( #10636 )
7 years ago
paranoidjk
8e166915a9
fix(Select): value tsd ( #10336 )
7 years ago
Thiebaud Thomas
a1e186b8a3
Fix type for placeholder in select component ( #10282 )
7 years ago
twobin
d816879e78
fix: add props of onPopupScroll in Select ( #9475 )
7 years ago
Dimitri Mitropoulos
c92cf5b778
adds missing argument in Select onChange prop ( #9332 )
* adds missing argument in Select onChange prop
from the docs:
`function(value, option:Option/Array<Option>)`
also, (from reality) the callback really does send an option or options array.
* updates type to use ReactElement instead of Object
7 years ago
Yury Kozyrev
76c7ce669a
add tabIndex to select ( #9144 )
7 years ago
Yury Kozyrev
ecd4177638
Update index.tsx ( #8922 )
7 years ago
Yury Kozyrev
67e956dddd
[Select] fix Typescript Props ( #8920 )
* Update button.tsx
* update ts types
Fixes #8895
* omitted values should be an array
7 years ago
afc163
0bfd5ee14d
Fix notFoundContent not working, close #8809
7 years ago
Dane David
5a94236c30
Version fix for rc-select. Update docs to add onInputKeyDown ( #8552 )
7 years ago
afc163
8f1fd4d68b
Fix notFoundContent not working in AutoComplete, close #8553
7 years ago
Nidhi Agarwal
6d0b488d7f
Select - Moving defaultActiveFirstOption to AbstractSelectProps ( #8383 )
defaultActiveFirstOption Prop should be exposed to components which are extending AbstractSelectProps, even according the documentation of auto-complete.
7 years ago
Wei Zhu
4aeb811b72
Remove deprecations ( #8351 )
7 years ago
Wei Zhu
b647078baa
Fix implicit any for Select Slider Spin Switch
7 years ago
Wei Zhu
6837aedf69
Imporve tree and tree-select type definitions
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
Wei Zhu
55c85f77a1
Update dependendies ( #8150 )
* deps: upgrade rc-menu, and close : #2837
* test: update snapshots
* Update rc-calendar
* Update rc-cascader
* Update rc-dialog
* Update dropdown
* Update rc-select@7.1.0
* Update rc-slider
* Update rc-time-picker
* Update rc-tooltip
* Update rc-tree-select
* Mock rc-trigger and Portal
* Fix animation warning when inlineCollapsed changes
* fix: should use SubMenu[popupClassName]
* Fix typescript error
* Fix lint
* fix: style for menu
* Mock rc-trigger for React 15
* Remvoe allow_failures
7 years ago
Wei Zhu
e5a57ff60a
Improve Select type definition
Close #8128
7 years ago
Benjy Cui
e5699aff68
fix: should not import moment while useless, close : #8013
7 years ago
Benjy Cui
7ea572bfc8
refactor: extract common locale logic ( #7915 )
7 years ago
Benjy Cui
829b5f87bf
feat: make default locale to enUS ( #7553 )
* feat: make default locale to enUS
* test: fix CI
* docs: update getting started
7 years ago
Leo
fc8f533e67
fix ts checking ( #7355 )
* add title prop to Option component(for ts checking)
* fix Checkbox onChange type
7 years ago
afc163
fe3af14273
Remove exported SelectPropTypes and fix undefined exports, close #7222
7 years ago
afc163
3570458c31
Fix undefined SelectPropTypes
7 years ago
Troy Thompson
18c6860296
Adds onFocus and onBlur to Select properties. ( #7082 )
7 years ago
Mitchell Demler
fa44de3faa
refactor: rearrange AbstractSelectProps so that AutoCompleteProps has access to some needed SelectProps ( #6205 )
8 years ago
Manjit Kumar
4e055ed5d0
use PropTypes from 'prop-types' mdoule instead of React
- as React.PropTypes is being deprecated
- Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
- Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
8 years ago
LeeHarlan
d8ebd398df
fix Select component notFoundContent locale. ( #5661 )
* fix Select component notFoundContent locale.
* Update index.tsx
8 years ago
Benjy Cui
50f46d0919
feat: merge Select[multiple|tags|combobox] to Select[mode], close : #5471 ( #5534 )
8 years ago
Benjy Cui
84d65b3f66
refactor: simplify Select relative components' code
8 years ago
HJin.me
47589ba92c
fix get(Popup|Calendar|Suggestion|Tooltip)Container ts type ( #5528 )
8 years ago
afc163
849c5fbf75
Fix getPopupContainer ts type
8 years ago
afc163
322e9efdc9
Fix getPopupContainer ts type
8 years ago
Mitchell Demler
e968b575a2
fix: move filterOption to AbstractSelectProps so that AutoComplete component types do not break. ( #5393 )
8 years ago
afc163
c296d1a918
remove unused ant-select-show-search className, close #4859
8 years ago
陆离
46c200896f
Customize Input Component of AutoComplete ( #4483 )
* cherry-pick
* remove useless files
* remove useless files
* Group ts
* update interface
* ReactElement
8 years ago
wallverb
c01ee02758
chore: Change AutoCompleteProps to extend SelectProps ( #4565 )
* Change AutoCompleteProps to extend SelectProps
* Extract common props into AbstractSelectProps
8 years ago
Edd Hannay
ec2bec5417
Add tokenSeparators prop to Select TS definitions ( #4441 )
[The documentation](https://ant.design/components/select/ ) lists the `tokenSeparators` property on the `Select` component, but the TypeScript definition for the component does not contain the `tokenSeparators` property. The underlying `rc-select` component [defines tokenSeparators](https://github.com/react-component/select/blob/master/src/Select.jsx#L79 ) as `PropTypes.arrayOf(PropTypes.string)`, so I've added it as an optional TypeScript property of type `string[]`.
- Add tokenSeparators to SelectProps in Select Component
8 years ago
Andrey G
a307a7acf7
refactor: remove unnecessary computed props for classNames ( #4055 )
* remove unnecessary computed props for classNames
* rollback autocomplete optimization for possible css style order issue
* update snapshots
* remove more unnecessary computed props at Input
8 years ago
Benjy Cui
08e21e0a2f
refactor: close : #3490
8 years ago