fix: All values being selected in Select (#25202)

This commit is contained in:
Michael S. Molina 2023-09-06 10:37:21 -03:00 committed by GitHub
parent d8496425e2
commit e605d6dddf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -208,13 +208,13 @@ const Select = forwardRef(
() =>
!isSingleMode &&
allowSelectAll &&
fullSelectOptions.length > 0 &&
selectOptions.length > 0 &&
enabledOptions.length > 1 &&
!inputValue,
[
isSingleMode,
allowSelectAll,
fullSelectOptions.length,
selectOptions.length,
enabledOptions.length,
inputValue,
],