Merge pull request #1485 from ant-design/fix-select

css: clear should be hidden if Select is disabled #1480
This commit is contained in:
yiminghe 2016-04-22 00:52:34 -07:00
commit 74759ae64f
2 changed files with 5 additions and 1 deletions

View File

@ -21,7 +21,7 @@ ReactDOM.render(
<Option value="disabled" disabled>Disabled</Option>
<Option value="yiminghe">yiminghe</Option>
</Select>
<Select defaultValue="lucy" style={{ width: 120 }} disabled>
<Select defaultValue="lucy" style={{ width: 120 }} allowClear disabled>
<Option value="lucy">Lucy</Option>
</Select>
</div>

View File

@ -112,6 +112,10 @@
border-color: @border-color-base;
box-shadow: none;
}
&__clear {
display: none;
}
}
&-disabled &-selection--multiple &-selection__choice {