css: clear should be hidden if Select is disabled #1480

This commit is contained in:
Benjy Cui 2016-04-22 15:41:52 +08:00
parent 94bd188713
commit e767edcb73
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 {