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

View File

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