rc-select
Advanced tools
Comparing version 14.12.0 to 14.12.1
@@ -195,3 +195,3 @@ import _typeof from "@babel/runtime/helpers/esm/typeof"; | ||
var onInternalSearch = function onInternalSearch(searchText, fromTyping, isCompositing) { | ||
if (isValidCount(maxCount) && (rawValues === null || rawValues === void 0 ? void 0 : rawValues.size) >= maxCount) { | ||
if (multiple && isValidCount(maxCount) && (rawValues === null || rawValues === void 0 ? void 0 : rawValues.size) >= maxCount) { | ||
return; | ||
@@ -198,0 +198,0 @@ } |
@@ -64,3 +64,3 @@ /** | ||
export interface DefaultOptionType extends BaseOptionType { | ||
label: React.ReactNode; | ||
label?: React.ReactNode; | ||
value?: string | number | null; | ||
@@ -67,0 +67,0 @@ children?: Omit<DefaultOptionType, 'children'>[]; |
@@ -205,3 +205,3 @@ "use strict"; | ||
var onInternalSearch = function onInternalSearch(searchText, fromTyping, isCompositing) { | ||
if ((0, _valueUtil.isValidCount)(maxCount) && (rawValues === null || rawValues === void 0 ? void 0 : rawValues.size) >= maxCount) { | ||
if (multiple && (0, _valueUtil.isValidCount)(maxCount) && (rawValues === null || rawValues === void 0 ? void 0 : rawValues.size) >= maxCount) { | ||
return; | ||
@@ -208,0 +208,0 @@ } |
@@ -64,3 +64,3 @@ /** | ||
export interface DefaultOptionType extends BaseOptionType { | ||
label: React.ReactNode; | ||
label?: React.ReactNode; | ||
value?: string | number | null; | ||
@@ -67,0 +67,0 @@ children?: Omit<DefaultOptionType, 'children'>[]; |
{ | ||
"name": "rc-select", | ||
"version": "14.12.0", | ||
"version": "14.12.1", | ||
"description": "React Select", | ||
@@ -5,0 +5,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
336876