mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 21:59:41 +08:00
Merge pull request #1485 from ant-design/fix-select
css: clear should be hidden if Select is disabled #1480
This commit is contained in:
commit
74759ae64f
@ -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>
|
||||
|
@ -112,6 +112,10 @@
|
||||
border-color: @border-color-base;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&__clear {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&-disabled &-selection--multiple &-selection__choice {
|
||||
|
Loading…
Reference in New Issue
Block a user