@natoora-libs/core 0.2.29 → 0.2.30

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.
@@ -723,7 +723,7 @@ var SmartSelect = forwardRef(
723
723
  }
724
724
  return baseOptions;
725
725
  }, [options, value, defaultOption]);
726
- const handleOpen = () => {
726
+ const handleFetchData = () => {
727
727
  if (!options?.length) {
728
728
  refetch?.();
729
729
  }
@@ -822,7 +822,8 @@ var SmartSelect = forwardRef(
822
822
  "data-testid": `${dataTestId}-select`,
823
823
  value: value ?? "",
824
824
  onChange: handleChange,
825
- onOpen: handleOpen,
825
+ onOpen: handleFetchData,
826
+ onFocus: handleFetchData,
826
827
  onKeyDown: handleKeyDown,
827
828
  label: inputLabel,
828
829
  MenuProps: menuProps,