mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
css: clear should be hidden if Select is disabled #1480
This commit is contained in:
parent
94bd188713
commit
e767edcb73
@ -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