@gisce/react-ooui 2.65.0-alpha.4 → 2.65.0-alpha.5

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.
@@ -14978,7 +14978,7 @@ const Ay = _t(Iy), Fy = (e) => {
14978
14978
  }, $y = (e) => {
14979
14979
  const { ooui: t, value: n } = e, { selectionValues: r, errorField: o, lastStep: a } = t, s = ne(Ge);
14980
14980
  let l = [], c;
14981
- t.fieldType === "json" ? (l = n.map((d) => [d.title, d.title]), c = n.findIndex((d) => d.active)) : (l = Array.from(r.entries()), c = l.map((d) => d[0]).indexOf(n));
14981
+ t.fieldType === "json" && n ? (l = n.map((d) => [d.title, d.title]), c = n.findIndex((d) => d.active)) : (l = Array.from(r.entries()), c = l.map((d) => d[0]).indexOf(n));
14982
14982
  let u = "process", m = "";
14983
14983
  return o && (m = s.getFieldValue(o), m && (u = "error")), a && c + 1 == l.length && (u = "finish"), /* @__PURE__ */ i(ti, { current: c, status: u, children: l.map((d, f) => /* @__PURE__ */ i(
14984
14984
  ti.Step,