upgrade select

This commit is contained in:
yiminghe 2015-08-31 19:41:58 +08:00
parent 3f693f517e
commit fbad793d3d
3 changed files with 9 additions and 3 deletions

View File

@ -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'));

View File

@ -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",

View File

@ -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 {