nexaas-ui-components 1.0.89 → 1.0.90

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.
package/dist/index.cjs CHANGED
@@ -3953,8 +3953,10 @@ var SelectFieldBip = React5.forwardRef(
3953
3953
  const handleKeyDown = async (event) => {
3954
3954
  var _a2;
3955
3955
  if (event.key === "Enter") {
3956
+ if (event.ctrlKey || event.metaKey || event.altKey) return;
3956
3957
  event.preventDefault();
3957
3958
  debouncedFetchOptions.cancel();
3959
+ if (!event.target.value) return;
3958
3960
  const fetchedOptions = await fetchOptions(event.target.value);
3959
3961
  if ((fetchedOptions == null ? void 0 : fetchedOptions.length) > 0) {
3960
3962
  onChange(fetchedOptions[0]);