File tree 2 files changed +10
-3
lines changed
packages/react-search-select/src
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -274,7 +274,12 @@ export default function SearchSelect(props: SearchSelectProps) {
274
274
. join ( ' ' )
275
275
. trim ( ) }
276
276
>
277
- < div className = { `${ prefixCls } -tag-content` } >
277
+ < div
278
+ className = { [ `${ prefixCls } -tag-content` , disabled && `${ prefixCls } -tag-content-disabled` ]
279
+ . filter ( Boolean )
280
+ . join ( ' ' )
281
+ . trim ( ) }
282
+ >
278
283
{ isMultiple &&
279
284
selectedValue . slice ( 0 , maxTagCount ) . map ( ( item , index ) => {
280
285
return (
Original file line number Diff line number Diff line change 83
83
.w-input-small .w-input-inner {
84
84
height : 16px ;
85
85
font-size : 10px ;
86
- padding : 0 px ;
86
+ padding : 0 ;
87
87
}
88
88
89
89
.w-input-large .w-input-inner {
99
99
width : 100% ;
100
100
padding : 0 9px ;
101
101
}
102
-
102
+ &-tag-content-disabled {
103
+ background : #dddddd ;
104
+ }
103
105
&-search-false {
104
106
cursor : pointer ;
105
107
}
You can’t perform that action at this time.
0 commit comments