indicator-ui 0.0.112 → 0.0.113

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.js CHANGED
@@ -10094,7 +10094,7 @@ function SelectField({ value, onChange, options = [], placeholder, isError, sear
10094
10094
  const [isShowModalWindow, setIsShowModalWindow] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);
10095
10095
  const requestPromiseRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(undefined);
10096
10096
  // Добавляем кэширование выбранных options
10097
- const optionsCacheRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)([]);
10097
+ const optionsCacheRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(options);
10098
10098
  const [optionsState, setOptionsState] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(options);
10099
10099
  const inputRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);
10100
10100
  const searchingTimeoutRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);