oolib 2.109.3 → 2.109.4

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.
@@ -111,12 +111,14 @@ function DropdownSingle(_a) {
111
111
  });
112
112
  return (!isSearchable && !isTagsStyle)
113
113
  ? ops
114
- : (0, keywordSearchOptions_1.keywordSearchOptions)({
115
- options: ops,
116
- searchString: searchString,
117
- searchFieldsConfig: searchFieldsConfig,
118
- setFilteredOptionsInParent: setFilteredOptionsInParent,
119
- });
114
+ : !!observerRef === true //if this exists that means search is being handled on the backend via elastic search
115
+ ? ops
116
+ : (0, keywordSearchOptions_1.keywordSearchOptions)({
117
+ options: ops,
118
+ searchString: searchString,
119
+ searchFieldsConfig: searchFieldsConfig,
120
+ setFilteredOptionsInParent: setFilteredOptionsInParent,
121
+ });
120
122
  }, [optionsProp, optionsFn === null || optionsFn === void 0 ? void 0 : optionsFn.fn, searchString]);
121
123
  var genSelectTagsInput = function () { return (react_1.default.createElement(SelectTagsInput_1.SelectTagsInput, __assign({}, {
122
124
  id: id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.109.3",
3
+ "version": "2.109.4",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",