Commit Graph

80 Commits

Author SHA1 Message Date
Florian Guitton
0e34ca6076
feat: Adding custom renderer for select with demos (#21064)
* Adding a custom renderer for tags

* Adding edit experience example

* react-component/select#445 as been released in rc-select:10.0.0-rc.5 this becomes a minimum for this feature

* Fixing ci/circleci: lint error on unused value variable

* Adding test snapshots for the new demos snippets

* Fix Missing trailing comma in demo component

* Revert unrelated changes

* Updating readme description with added chinese translation

* Removing second demo, cleaning up first demo code, test snapshot update

* Fixing bits of language

* Addressing comments and simplifying custom rendering logic

* Moving to mode "multiple" instead of "tags"
2020-02-11 20:00:56 +08:00
偏右
06ba40e860
🆕 Add bordered prop (#21242)
close #19859
2020-02-06 10:02:02 +08:00
xrkffgg
a9d76175d0 style: Optimize select other sizes placeholder text centered (#20884)
* style: 优化 select 其他尺寸 placeholder 文字居中

* use transform

* docs: update mode message
2020-01-15 10:37:49 +08:00
Amumu
29b4b7004e docs upgrade (#20460) 2019-12-26 14:37:39 +08:00
zombiej
b37b317b69 chore: merge master 2019-11-25 15:16:59 +08:00
chen wen jun
3906f4fc00 Update index.en-US.md (#19868)
correct `maxTagTextLength` description
2019-11-21 17:49:36 +08:00
wangxingkang
336fb41ec2 docs: Removed version column in 4.0 (#19821)
Issue #19815
2019-11-20 14:55:34 +08:00
偏右
7961bb335c 🗑 Remove useless prop searchValue (#19003)
from typescript and documentation

close #18847
2019-09-25 05:03:41 -05:00
afc163
2de1a15da9
📝 Add instruction for dropdownRender 2019-09-24 22:37:55 +08:00
yoyo837
e13a87053c chore(docs): add dropdownMenuStyle props for AutoComplete and Select 2019-09-11 21:43:31 +08:00
zombiej
4cac0a9822 warning if user use inputValue 2019-09-03 15:01:42 +08:00
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
2019-09-03 11:15:58 +08:00
MuYu
fb0b4f0fc9 docs: show version Number features were added (#17373)
* docs: add api first appearance

* docs: fix auto-complete doc

* docs: replace Version Added with Version

* docs: date picker common method

* docs: date picker common method

* docs: tree

* docs: remove meaningless 3.0.0
2019-07-11 14:14:33 +08:00
zombiej
12c577d386 docs: Update menuItemSelectedIcon desc of Select
close #17360
2019-06-29 22:53:16 +08:00
陈帅
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