@cloud-ru/ds-fields 2.2.2-preview-1c0446bf.0 → 2.2.2-preview-41de8d8d.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -277,7 +277,7 @@ exports.FieldSelect = (0, react_1.forwardRef)(function FieldSelect(props, ref) {
|
|
|
277
277
|
inputRef: inputElementRef,
|
|
278
278
|
postfixButtons: (0, react_1.useMemo)(() => [clearButtonSettings, copyButtonSettings], [clearButtonSettings, copyButtonSettings]),
|
|
279
279
|
readonly: !searchable || Boolean(readOnly),
|
|
280
|
-
submitKeys: ['Enter', '
|
|
280
|
+
submitKeys: ['Enter', ' ', 'Tab'],
|
|
281
281
|
});
|
|
282
282
|
const handleTriggerKeyDown = (event) => {
|
|
283
283
|
if (searchable && event.key === ' ') {
|
|
@@ -271,7 +271,7 @@ export const FieldSelect = forwardRef(function FieldSelect(props, ref) {
|
|
|
271
271
|
inputRef: inputElementRef,
|
|
272
272
|
postfixButtons: useMemo(() => [clearButtonSettings, copyButtonSettings], [clearButtonSettings, copyButtonSettings]),
|
|
273
273
|
readonly: !searchable || Boolean(readOnly),
|
|
274
|
-
submitKeys: ['Enter', '
|
|
274
|
+
submitKeys: ['Enter', ' ', 'Tab'],
|
|
275
275
|
});
|
|
276
276
|
const handleTriggerKeyDown = (event) => {
|
|
277
277
|
if (searchable && event.key === ' ') {
|