finform-react-builder 1.5.12 → 1.5.13
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/components/FinForm/types.d.ts +1 -0
- package/dist/index.es.js +6 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +15 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -3147,7 +3147,7 @@ const Gc = ({ field: e, control: t, errors: r, baseUrl: n, apiHeaders: i, formDa
|
|
|
3147
3147
|
placeholder: e.placeholder,
|
|
3148
3148
|
disabled: e.disabled,
|
|
3149
3149
|
error: o,
|
|
3150
|
-
helperText: s == null ? void 0 : s.message
|
|
3150
|
+
helperText: (s == null ? void 0 : s.message) || e.helperText
|
|
3151
3151
|
}
|
|
3152
3152
|
)
|
|
3153
3153
|
}
|
|
@@ -3204,7 +3204,7 @@ const Gc = ({ field: e, control: t, errors: r, baseUrl: n, apiHeaders: i, formDa
|
|
|
3204
3204
|
] }) }) : k.length > 0 ? k.map((W) => /* @__PURE__ */ D(En, { value: W.value, children: W.label }, W.value)) : l && !z ? /* @__PURE__ */ D(En, { disabled: !0, children: /* @__PURE__ */ D(Ve, { variant: "body2", color: "text.secondary", children: "No options available" }) }) : /* @__PURE__ */ D(En, { disabled: !0, children: /* @__PURE__ */ D(Ve, { variant: "body2", color: "text.secondary", children: "Click to load options" }) })
|
|
3205
3205
|
}
|
|
3206
3206
|
),
|
|
3207
|
-
(o || H) && /* @__PURE__ */ D(Hr, { children: (s == null ? void 0 : s.message) || (H == null ? void 0 : H.message) })
|
|
3207
|
+
(o || H || e.helperText) && /* @__PURE__ */ D(Hr, { children: (s == null ? void 0 : s.message) || (H == null ? void 0 : H.message) || e.helperText })
|
|
3208
3208
|
] })
|
|
3209
3209
|
}
|
|
3210
3210
|
);
|
|
@@ -3231,7 +3231,7 @@ const Gc = ({ field: e, control: t, errors: r, baseUrl: n, apiHeaders: i, formDa
|
|
|
3231
3231
|
label: m(e.label)
|
|
3232
3232
|
}
|
|
3233
3233
|
),
|
|
3234
|
-
o && /* @__PURE__ */ D(Hr, { error:
|
|
3234
|
+
(o || e.helperText) && /* @__PURE__ */ D(Hr, { error: o, sx: { ml: 0 }, children: (s == null ? void 0 : s.message) || e.helperText })
|
|
3235
3235
|
] })
|
|
3236
3236
|
}
|
|
3237
3237
|
);
|
|
@@ -3260,7 +3260,7 @@ const Gc = ({ field: e, control: t, errors: r, baseUrl: n, apiHeaders: i, formDa
|
|
|
3260
3260
|
))
|
|
3261
3261
|
}
|
|
3262
3262
|
),
|
|
3263
|
-
o && /* @__PURE__ */ D(Hr, { error:
|
|
3263
|
+
(o || e.helperText) && /* @__PURE__ */ D(Hr, { error: o, children: (s == null ? void 0 : s.message) || e.helperText })
|
|
3264
3264
|
] })
|
|
3265
3265
|
}
|
|
3266
3266
|
);
|
|
@@ -3315,7 +3315,7 @@ const Gc = ({ field: e, control: t, errors: r, baseUrl: n, apiHeaders: i, formDa
|
|
|
3315
3315
|
label: m(e.label)
|
|
3316
3316
|
}
|
|
3317
3317
|
),
|
|
3318
|
-
o && /* @__PURE__ */ D(Hr, { error:
|
|
3318
|
+
(o || e.helperText) && /* @__PURE__ */ D(Hr, { error: o, sx: { ml: 0 }, children: (s == null ? void 0 : s.message) || e.helperText })
|
|
3319
3319
|
] })
|
|
3320
3320
|
}
|
|
3321
3321
|
);
|
|
@@ -3411,7 +3411,7 @@ const Gc = ({ field: e, control: t, errors: r, baseUrl: n, apiHeaders: i, formDa
|
|
|
3411
3411
|
label: m(e.label),
|
|
3412
3412
|
placeholder: M && (g != null && g.dependsOn) && !b ? `Please select ${g.dependsOn.replace(/_/g, " ")} first` : e.placeholder,
|
|
3413
3413
|
error: o || !!H,
|
|
3414
|
-
helperText: (s == null ? void 0 : s.message) || (H == null ? void 0 : H.message) || "",
|
|
3414
|
+
helperText: (s == null ? void 0 : s.message) || (H == null ? void 0 : H.message) || e.helperText || "",
|
|
3415
3415
|
InputProps: {
|
|
3416
3416
|
...N.InputProps,
|
|
3417
3417
|
endAdornment: /* @__PURE__ */ ke(Tl, { children: [
|