@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.
@@ -1050,7 +1050,7 @@ var SmartSelect = (0, import_react3.forwardRef)(
1050
1050
  }
1051
1051
  return baseOptions;
1052
1052
  }, [options, value, defaultOption]);
1053
- const handleOpen = () => {
1053
+ const handleFetchData = () => {
1054
1054
  if (!options?.length) {
1055
1055
  refetch?.();
1056
1056
  }
@@ -1149,7 +1149,8 @@ var SmartSelect = (0, import_react3.forwardRef)(
1149
1149
  "data-testid": `${dataTestId}-select`,
1150
1150
  value: value ?? "",
1151
1151
  onChange: handleChange,
1152
- onOpen: handleOpen,
1152
+ onOpen: handleFetchData,
1153
+ onFocus: handleFetchData,
1153
1154
  onKeyDown: handleKeyDown,
1154
1155
  label: inputLabel,
1155
1156
  MenuProps: menuProps,