@steedos-widgets/amis-object 3.6.3-beta.1 → 3.6.3

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.
@@ -15715,8 +15715,9 @@ async function convertSFieldToAmisField(field, readonly, ctx) {
15715
15715
  "Authorization": "Bearer ${context.tenantId},${context.authToken}"
15716
15716
  },
15717
15717
  "adaptor": `
15718
- payload.data["${field.name}"] = payload.data && payload.data.autonumber;
15718
+ var tempValue = payload.data && payload.data.autonumber;
15719
15719
  delete payload.data.autonumber;
15720
+ payload.data["${field.name}"] = tempValue;
15720
15721
  return payload;
15721
15722
  `
15722
15723
  },
@@ -16268,6 +16269,11 @@ const getSection = async (formFields, permissionFields, fieldSchemaArray, sectio
16268
16269
  section.visibleOn = groupVisibleOn;
16269
16270
  }
16270
16271
  }
16272
+
16273
+ let groupCollapsed = group && group.collapsed;
16274
+ if(groupCollapsed === true) {
16275
+ section.collapsed = true;
16276
+ }
16271
16277
  return section
16272
16278
  };
16273
16279