File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -482,16 +482,16 @@ function MultiSelect({
482482 opts = { options }
483483 { ...{ singleSelect, addValue, checkValueExist, value } }
484484 />
485- ) : ( search && ! search ?. length ) || ( options && ! options . length ) ? (
486- < option className = 'msl-option msl-option-disable' >
487- { emptyDataLabel }
488- </ option >
485+ ) : search && search . length ? (
486+ < Options
487+ opts = { search }
488+ { ...{ singleSelect, addValue, checkValueExist, value } }
489+ />
489490 ) : (
490- search && (
491- < Options
492- opts = { search }
493- { ...{ singleSelect, addValue, checkValueExist, value } }
494- />
491+ ( ( search && ! search . length ) || ( options && ! options . length ) ) && (
492+ < option className = 'msl-option msl-option-disable' >
493+ { emptyDataLabel }
494+ </ option >
495495 )
496496 ) }
497497 </ div >
You can’t perform that action at this time.
0 commit comments