@gisce/react-ooui 1.5.4 → 1.5.6-rc.0
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/react-ooui.es.js +3 -3
- package/dist/react-ooui.es.js.map +1 -1
- package/dist/react-ooui.umd.js +3 -3
- package/dist/react-ooui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/stories/mocks/models/cups.ts +18 -1
- package/src/widgets/base/Button.tsx +1 -1
- package/src/widgets/base/one2many/One2manyInput.tsx +1 -1
- package/src/widgets/views/Form.tsx +1 -1
package/dist/react-ooui.es.js
CHANGED
|
@@ -648,7 +648,7 @@ const io = (e) => {
|
|
|
648
648
|
ooui: t,
|
|
649
649
|
children: /* @__PURE__ */ n(Ie, {
|
|
650
650
|
block: !0,
|
|
651
|
-
disabled: !o || c,
|
|
651
|
+
disabled: !o || c || m,
|
|
652
652
|
onClick: g,
|
|
653
653
|
icon: v(),
|
|
654
654
|
type: t.primary ? "primary" : "default",
|
|
@@ -3666,7 +3666,7 @@ function Ol(e, t) {
|
|
|
3666
3666
|
}
|
|
3667
3667
|
let oe = !1;
|
|
3668
3668
|
try {
|
|
3669
|
-
(tt() || de() === void 0) && (oe = !0, bn(!0), m === "2many" ? (await sr({
|
|
3669
|
+
!d && (tt() || de() === void 0) && (oe = !0, bn(!0), m === "2many" ? (await sr({
|
|
3670
3670
|
callOnSubmitSucceed: !1
|
|
3671
3671
|
}), Z.current = !0) : await Qt({
|
|
3672
3672
|
callOnSubmitSucceed: !1
|
|
@@ -7077,7 +7077,7 @@ const Wc = (e) => {
|
|
|
7077
7077
|
children: [/* @__PURE__ */ n(jc, {
|
|
7078
7078
|
mode: a,
|
|
7079
7079
|
title: Ge(),
|
|
7080
|
-
readOnly: z,
|
|
7080
|
+
readOnly: z || !1,
|
|
7081
7081
|
isMany2Many: ne,
|
|
7082
7082
|
formHasChanges: C,
|
|
7083
7083
|
totalItems: J.length,
|