Browse Source

upgrade select

pull/227/head
yiminghe 9 years ago
parent
commit
fbad793d3d
  1. 3
      components/select/demo/tags.md
  2. 4
      package.json
  3. 5
      style/components/select.less

3
components/select/demo/tags.md

@ -23,7 +23,8 @@ function handleChange(value) {
React.render(
<Select
style={{width: '100%'}}
tags defaultValue={['name2', 'name3']} onChange={handleChange}>
searchPlaceholder="标签模式"
tags onChange={handleChange}>
{children}
</Select>
, document.getElementById('components-select-demo-tags'));

4
package.json

@ -37,7 +37,7 @@
"gregorian-calendar": "~3.0.0",
"gregorian-calendar-format": "~3.0.1",
"object-assign": "~4.0.1",
"rc-animate": "~1.2.0",
"rc-animate": "~1.2.9",
"rc-calendar": "~3.16.1",
"rc-checkbox": "~1.1.1",
"rc-collapse": "~1.3.0",
@ -50,7 +50,7 @@
"rc-pagination": "~1.1.0",
"rc-progress": "~1.0.0",
"rc-radio": "~2.0.0",
"rc-select": "~4.8.1",
"rc-select": "~4.8.5",
"rc-slider": "~1.4.0",
"rc-steps": "~1.1.4",
"rc-switch": "~1.2.0",

5
style/components/select.less

@ -200,6 +200,11 @@
min-height: 28px;
cursor: text;
.@{select-prefix-cls}-search__field__placeholder {
top: 6px;
left: 4px;
}
.@{select-prefix-cls}-search--inline {
width: auto;
.@{select-prefix-cls}-search__field {

Loading…
Cancel
Save