@stokelp/ui 2.50.3 → 2.50.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.
package/dist/ui.js CHANGED
@@ -461,7 +461,7 @@ const { withProvider: Cc, withContext: v2 } = J(Td), ec = Cc(f(N.Root), "root",
461
461
  selectionMode: o,
462
462
  onValueChange: (V) => {
463
463
  var m;
464
- return (m = H.onValueChange) == null ? void 0 : m.call(H, { ...V, valueAsString: [V.value.toString()] });
464
+ return (m = H.onValueChange) == null ? void 0 : m.call(H, { ...V, valueAsString: V.value.length ? [V.value.toString()] : [] });
465
465
  },
466
466
  children: [
467
467
  /* @__PURE__ */ C(r1.Context, { children: (V) => /* @__PURE__ */ r(fc, { children: [