Commit Graph

66 Commits

Author SHA1 Message Date
陈帅
82b85709be style: run lint-fix (#17172) 2019-06-19 19:09:08 +08:00
afc163
13379aa0d8
💄 Optimize examples code style 2019-05-27 22:04:17 +08:00
afc163
3c22f86823
🎬 Add example for Select `optionLabelProp prop, #16709 2019-05-22 19:33:03 +08:00
SylvanasGone
6eacfd7ebc fix[Select]: add missing type definition (#16504)
* fix[Select]: add missing type definition

* update docs
2019-05-10 22:51:06 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
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)
2019-05-03 22:10:45 +08:00
诸岳
470a4e03a2 docs: Add version description about Select[onDropdownVisibleChange] 2019-01-09 19:33:01 +08:00
afc163
49f227be9b
📝 fix duplicated dropdownRender in doc 2018-12-06 16:53:02 +08:00
ycjcl868
dc8ebef321 📝 Changelog and select docs 2018-12-02 15:52:07 +08:00
afc163
e1d3d2b3e1
Add dropdownRender loading for Select
close #10831

close #7988

close #13151

close #11225

close #9888
2018-11-27 12:01:30 +08:00
zombiej
72d08b3828 Select support dropdownRender
close #10831
2018-11-26 11:50:12 +08:00
Ilan
bd2a58f745 ✏️ updating select option types 2018-10-06 15:35:29 +08:00
Wei Zhu
1c1a67fe1d Merge branch 'feature' 2018-09-30 16:53:28 +08:00
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.
2018-09-30 15:04:03 +08:00
afc163
7c6299e12e Merge branch 'master' into feature 2018-09-21 14:03:04 +08:00
HeskeyBaozi
a2520b02c9 select: suffix -> suffixIcon 2018-09-21 13:40:27 +08:00
HeskeyBaozi
a01450debb add suffix interface to select 2018-09-21 13:40:27 +08:00
Yang
a3c1444a20 doc: add dropdown control props (#12323) 2018-09-19 22:50:53 +08:00
afc163
2952a8625b site: remove old version hint of API 2018-09-12 21:43:01 +08:00
afc163
7396948c96 support controlled open for Select, close #10482 2018-08-25 23:41:30 +08:00
afc163
6be189aa0f site: styling API Tables 2018-07-21 15:00:20 +08:00
Wei Zhu
354cc7303e docs: remove combobox 2018-06-25 16:52:51 +08:00
Wei Zhu
53046a454a Deprecate combobox mode of Select 2018-06-25 16:52:51 +08:00
Wei Zhu
aa580beb8b docs: sort api table 2018-06-24 17:09:18 +08:00
hehe
07e06709f8 docs: fix typo 2018-06-15 10:25:17 +08:00
Wei Zhu
51d1f27a76 dcos: Detail Select[optionLabelProp] default value
Close #9745
2018-03-24 21:38:25 +08:00
Kevin BON
b1bcf842d7 Update index.en-US.md (#9579) 2018-03-09 00:48:23 +08:00
jim
7b4abe7568 doc add select component showArrow props document 2018-02-08 16:13:09 +08:00
愚指导
df4097ca4d [Select] Pass Option as onChange and onSelect second argument (#9228) 2018-02-04 02:42:33 -06:00
jasonxia23
a3c53523c2 fix doc: type of select and option 2018-01-08 19:52:39 +08:00
afc163
c14b13d4ac Fix broken link, close #8797 2018-01-02 18:12:10 +08:00
Wei Zhu
999d6184ad docs: Sort api table 2017-12-29 20:22:58 +08:00
nikogu
5252de9209 Merge branch 'master' into feature-3.1 2017-12-22 11:43:54 +08:00
afc163
13c6e8ec1e update getPopcontainer demo link 2017-12-21 21:50:41 +08:00
Dane David
5a94236c30 Version fix for rc-select. Update docs to add onInputKeyDown (#8552) 2017-12-13 04:34:54 -06:00
Wei Zhu
4aeb811b72
Remove deprecations (#8351) 2017-11-30 09:53:32 +08:00
Wei Zhu
c8a49c45fc Upgrade rc-select 2017-11-28 09:51:29 +08:00
Wei Zhu
bf4ad93f2c Update rc-select 2017-11-19 20:14:53 +08:00
afc163
8ca9c9513d Merge branch 'master' into antd-3.0 2017-11-18 14:29:56 +08:00
David Tsai
b3b3ee043e Update Select component documentation (#8229)
Providing clarity through reworking the description(s) on usage.
2017-11-18 13:13:55 +08:00
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
2017-11-11 00:07:03 +08:00
Wei Zhu
36227a10db docs: sort api table 2017-10-25 10:25:44 +08:00
Graeme Yeates
47e3cedf86 Minor fixes for select and form en docs (#7769)
* Fix headers on form validateFields [ci skip]

* Include default as an option for select sizes [ci skip]
2017-09-29 10:54:37 +08:00
Wei Zhu
c2031f701c Document Select[firstActiveValue] 2017-09-11 12:00:15 +08:00
afc163
ac5bdc6983 doc: update select description 2017-08-23 13:17:43 +08:00
Graeme Yeates
0e22ae62bb Document select placeholder supporting ReactNode 2017-07-04 13:07:05 -04:00
afc163
8a1c875123 update select doc 2017-04-13 16:46:46 +08:00
Benjy Cui
50f46d0919 feat: merge Select[multiple|tags|combobox] to Select[mode], close: #5471 (#5534) 2017-03-28 21:27:58 +08:00
Benjy Cui
cb555fc30d fix: Select[multiple|tags] should support allowClear, close: #4843 (#5478) 2017-03-27 17:37:39 +08:00
Wei Zhu
77b78a9389 docs: Unify type naming (#4636)
* Unify name of ReactNode type in document

* Lowser all string type name

* Lowercase all number type name

* Lowercase all boolean type name

* Unify array type

* Lowercase all object type name

* Unify mutilple types
2017-01-20 20:10:50 +08:00