@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.
@@ -15743,8 +15743,9 @@ async function convertSFieldToAmisField(field, readonly, ctx) {
15743
15743
  "Authorization": "Bearer ${context.tenantId},${context.authToken}"
15744
15744
  },
15745
15745
  "adaptor": `
15746
- payload.data["${field.name}"] = payload.data && payload.data.autonumber;
15746
+ var tempValue = payload.data && payload.data.autonumber;
15747
15747
  delete payload.data.autonumber;
15748
+ payload.data["${field.name}"] = tempValue;
15748
15749
  return payload;
15749
15750
  `
15750
15751
  },
@@ -16296,6 +16297,11 @@ const getSection = async (formFields, permissionFields, fieldSchemaArray, sectio
16296
16297
  section.visibleOn = groupVisibleOn;
16297
16298
  }
16298
16299
  }
16300
+
16301
+ let groupCollapsed = group && group.collapsed;
16302
+ if(groupCollapsed === true) {
16303
+ section.collapsed = true;
16304
+ }
16299
16305
  return section
16300
16306
  };
16301
16307