chore: Adds the tests that need to be coded for the Select component (#15885)

This commit is contained in:
Michael S. Molina
2021-07-25 16:01:48 -03:00
committed by GitHub
parent 7330aefeac
commit 9c81599d21
2 changed files with 83 additions and 1 deletions

View File

@@ -484,7 +484,7 @@ const Select = ({
onDeselect={handleOnDeselect}
onDropdownVisibleChange={handleOnDropdownVisibleChange}
onPopupScroll={isAsync ? handlePagination : undefined}
onSearch={handleOnSearch}
onSearch={shouldShowSearch ? handleOnSearch : undefined}
onSelect={handleOnSelect}
onClear={() => setSelectValue(undefined)}
options={selectOptions}