@orfium/ictinus 4.74.0 → 4.75.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.
|
@@ -291,8 +291,10 @@ var Select = /*#__PURE__*/_react["default"].forwardRef(function (_ref, ref) {
|
|
|
291
291
|
var isEnter = event.key === 'Enter';
|
|
292
292
|
|
|
293
293
|
if (hasNoOptionsAndIsCreatable && isEnter) {
|
|
294
|
-
|
|
294
|
+
var _selectedOption = filteredOptions[0];
|
|
295
|
+
handleMultiSelectOptionClick(_selectedOption);
|
|
295
296
|
setSearchValue('');
|
|
297
|
+
handleSelectedOption(_selectedOption);
|
|
296
298
|
}
|
|
297
299
|
};
|
|
298
300
|
|