File tree 1 file changed +8
-8
lines changed
packages/react-search-select/src
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -340,14 +340,14 @@ export default function SearchSelect(props: SearchSelectProps) {
340
340
placeholder = { selectedValue . length ? '' : placeholder }
341
341
/>
342
342
</ div >
343
- { /* { !disabled && (selectIconType === 'close' || (selectIconType === 'loading' && loading)) && ( */ }
344
- < Icon
345
- className = { `${ prefixCls } -multiple-colse` }
346
- type = { 'close' }
347
- spin = { loading && selectIconType === 'loading' }
348
- onClick = { resetSelectedValue }
349
- />
350
- { /* )} */ }
343
+ { ! disabled && ( selectIconType === 'close' || ( selectIconType === 'loading' && loading ) ) && (
344
+ < Icon
345
+ className = { `${ prefixCls } -multiple-colse` }
346
+ type = { selectIconType }
347
+ spin = { loading && selectIconType === 'loading' }
348
+ onClick = { resetSelectedValue }
349
+ />
350
+ ) }
351
351
</ div >
352
352
) : (
353
353
< Input
You can’t perform that action at this time.
0 commit comments