@utogether/utils 3.0.0-beta.39 → 3.0.0-beta.40

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/utils.es.js CHANGED
@@ -1634,7 +1634,7 @@ const deviceDetection = () => {
1634
1634
  merge(o, e);
1635
1635
  } else if (h.required) {
1636
1636
  const { field: e, title: i } = h, t = i == null ? void 0 : i.startsWith("message.");
1637
- o[e] = [
1637
+ o[e] = h.rules || [
1638
1638
  {
1639
1639
  required: !0,
1640
1640
  message: `${l("message.required")}${i && t ? l(i) : i || l(`message.${e}`)}`