@sonamu-kit/react-components 0.3.7 → 0.3.9

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.
@@ -2081,10 +2081,10 @@ function ri(e, t) {
2081
2081
  m(e);
2082
2082
  }, []), S = i && "onSearch" in e ? e.onSearch : void 0, C = i && "searchDebounce" in e && e.searchDebounce !== void 0 ? e.searchDebounce : 300;
2083
2083
  a(() => {
2084
- if (!S || p === "") return;
2084
+ if (!S) return;
2085
2085
  let e = setTimeout(() => {
2086
2086
  S(p);
2087
- }, C);
2087
+ }, p === "" ? 0 : C);
2088
2088
  return () => clearTimeout(e);
2089
2089
  }, [
2090
2090
  p,
@@ -2898,7 +2898,7 @@ function ji({ config: e, subset: t, baseListParams: n, displayField: i, valueFie
2898
2898
  x,
2899
2899
  a
2900
2900
  ]), B = (e) => String(e);
2901
- return O ? p ? /* @__PURE__ */ f($, {
2901
+ return O && !h ? p ? /* @__PURE__ */ f($, {
2902
2902
  items: ce,
2903
2903
  valueKey: B,
2904
2904
  value: g ?? [],
@@ -2909,8 +2909,7 @@ function ji({ config: e, subset: t, baseListParams: n, displayField: i, valueFie
2909
2909
  clearable: c,
2910
2910
  disabled: u,
2911
2911
  className: d,
2912
- multiple: !0,
2913
- searchable: h
2912
+ multiple: !0
2914
2913
  }) : /* @__PURE__ */ f($, {
2915
2914
  items: ce,
2916
2915
  valueKey: B,
@@ -2922,8 +2921,7 @@ function ji({ config: e, subset: t, baseListParams: n, displayField: i, valueFie
2922
2921
  clearable: c,
2923
2922
  disabled: u,
2924
2923
  className: d,
2925
- multiple: !1,
2926
- searchable: h
2924
+ multiple: !1
2927
2925
  }) : p ? /* @__PURE__ */ f($, {
2928
2926
  items: ce,
2929
2927
  value: g ?? [],