@rc-component/select
Advanced tools
+1
-1
@@ -128,3 +128,3 @@ /** | ||
| } | ||
| declare const TypedSelect: (<ValueType = any, OptionType extends DefaultOptionType | BaseOptionType = DefaultOptionType>(props: React.PropsWithChildren<SelectProps<ValueType, OptionType>> & React.RefAttributes<BaseSelectRef>) => React.ReactElement) & { | ||
| declare const TypedSelect: (<ValueType = any, OptionType extends BaseOptionType | DefaultOptionType = DefaultOptionType>(props: React.PropsWithChildren<SelectProps<ValueType, OptionType>> & React.RefAttributes<BaseSelectRef>) => React.ReactElement) & { | ||
| Option: typeof Option; | ||
@@ -131,0 +131,0 @@ OptGroup: typeof OptGroup; |
@@ -90,3 +90,3 @@ import * as React from 'react'; | ||
| // Handle Enter key submission - referencing Selector implementation | ||
| if (key === 'Enter' && mode === 'tags' && !compositionStatusRef.current && onSearchSubmit) { | ||
| if (key === 'Enter' && mode === 'tags' && !open && !compositionStatusRef.current && onSearchSubmit) { | ||
| onSearchSubmit(nextVal); | ||
@@ -93,0 +93,0 @@ } |
+1
-1
@@ -128,3 +128,3 @@ /** | ||
| } | ||
| declare const TypedSelect: (<ValueType = any, OptionType extends DefaultOptionType | BaseOptionType = DefaultOptionType>(props: React.PropsWithChildren<SelectProps<ValueType, OptionType>> & React.RefAttributes<BaseSelectRef>) => React.ReactElement) & { | ||
| declare const TypedSelect: (<ValueType = any, OptionType extends BaseOptionType | DefaultOptionType = DefaultOptionType>(props: React.PropsWithChildren<SelectProps<ValueType, OptionType>> & React.RefAttributes<BaseSelectRef>) => React.ReactElement) & { | ||
| Option: typeof Option; | ||
@@ -131,0 +131,0 @@ OptGroup: typeof OptGroup; |
@@ -99,3 +99,3 @@ "use strict"; | ||
| // Handle Enter key submission - referencing Selector implementation | ||
| if (key === 'Enter' && mode === 'tags' && !compositionStatusRef.current && onSearchSubmit) { | ||
| if (key === 'Enter' && mode === 'tags' && !open && !compositionStatusRef.current && onSearchSubmit) { | ||
| onSearchSubmit(nextVal); | ||
@@ -102,0 +102,0 @@ } |
+1
-1
| { | ||
| "name": "@rc-component/select", | ||
| "version": "1.6.14", | ||
| "version": "1.6.15", | ||
| "description": "React Select", | ||
@@ -5,0 +5,0 @@ "engines": { |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
329992
0.01%