@integry/sdk 4.5.40 → 4.5.41

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integry/sdk",
3
- "version": "4.5.40",
3
+ "version": "4.5.41",
4
4
  "description": "Integry SDK",
5
5
  "main": "dist/umd/index.umd.js",
6
6
  "module": "dist/esm/index.csm.js",
@@ -108,7 +108,12 @@ const ObjectField = (props: ObjectFieldProps) => {
108
108
  if (Array.isArray(field.template_fields)) {
109
109
  if (field.template_fields.length > 0) {
110
110
  templateFields = field.template_fields;
111
- } else if (field.type === 'TEXTAREA') {
111
+ } else if (field.type === 'TEXTAREA' || field.type === 'DYNAMIC') {
112
+ if (field.data_type === 'OBJECT[]') {
113
+ field.type = 'TEXTAREA';
114
+ setShowAddMoreOption(false);
115
+ }
116
+
112
117
  templateFields = [field];
113
118
  }
114
119
  } else if (field.properties && Object.keys(field.properties).length === 0) {