@gisce/react-ooui 1.4.6 → 1.4.7-rc.1

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.
@@ -3909,7 +3909,7 @@ const Ut = bt(yl), Gt = (e) => {
3909
3909
  id: i,
3910
3910
  className: "w-full ",
3911
3911
  disabled: o,
3912
- formatter: (f) => `${f}`.replace(/[^0-9\-]+/g, ""),
3912
+ formatter: (f) => f === void 0 || typeof f != "number" || isNaN(f) ? "" : `${Math.trunc(f)}`.replace(/[^0-9\-]+/g, ""),
3913
3913
  onChange: (f) => {
3914
3914
  const d = f;
3915
3915
  r == null || r(d);