We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4267e5d commit 92f2e0eCopy full SHA for 92f2e0e
assets/select.less
@@ -13,6 +13,12 @@
13
vertical-align: middle;
14
color: #666;
15
16
+ &-allow-clear {
17
+ .@{selectPrefixCls}-selection--single .@{selectPrefixCls}-selection__rendered {
18
+ padding-right: 40px;
19
+ }
20
21
+
22
ul, li {
23
margin: 0;
24
padding: 0;
src/Select.jsx
@@ -880,6 +880,7 @@ class Select extends Component {
880
// [`${prefixCls}-combobox`]: isCombobox(props),
881
[`${prefixCls}-disabled`]: disabled,
882
[`${prefixCls}-enabled`]: !disabled,
883
+ [`${prefixCls}-allow-clear`]: !!props.allowClear,
884
};
885
886
const clear = (<span
0 commit comments