@plasmicpkgs/antd5 0.0.85 → 0.0.87

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/index.js CHANGED
@@ -2439,7 +2439,7 @@ const Internal = React__default.default.forwardRef(
2439
2439
  const lastValue = React__default.default.useRef(values);
2440
2440
  const _a = props, { extendedOnValuesChange, setRemountKey } = _a, rest = __objRest$3(_a, ["extendedOnValuesChange", "setRemountKey"]);
2441
2441
  let childrenNode;
2442
- if (props.mode === "advanced") {
2442
+ if (props.mode !== "simplified") {
2443
2443
  childrenNode = typeof props.children === "function" ? props.children(values, form) : props.children;
2444
2444
  } else {
2445
2445
  childrenNode = /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, ((_b = props.formItems) != null ? _b : []).map((formItem) => /* @__PURE__ */ React__default.default.createElement(
@@ -2884,7 +2884,7 @@ function registerForm(loader) {
2884
2884
  },
2885
2885
  unstable__keyFunc: (x) => x.key,
2886
2886
  unstable__minimalValue: (ps, contextData) => {
2887
- return ps.mode === "simplified" ? ps.formItems : contextData == null ? void 0 : contextData.minimalFullLengthFields;
2887
+ return ps.data ? contextData == null ? void 0 : contextData.minimalFullLengthFields : void 0;
2888
2888
  },
2889
2889
  unstable__canDelete: (item, ps, ctx) => {
2890
2890
  if (ps.mode !== "database-schema-driven") {