@aemforms/af-core 0.22.108 → 0.22.110

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.
@@ -229,7 +229,7 @@ class DataValue {
229
229
  return x;
230
230
  }
231
231
  });
232
- if (formInFileInput && (this.$_type === 'string' || this.$_type === 'string[]' || this.$_type === 'array')) {
232
+ if (formInFileInput && (this.$_fields.every(_ => ['string', 'string[]'].includes(_.type)))) {
233
233
  const attachmentMap = formInFileInput.form._exportDataAttachmentMap;
234
234
  if (attachmentMap && attachmentMap[formInFileInput.id]) {
235
235
  const attachment = attachmentMap[formInFileInput.id];
@@ -25,7 +25,7 @@ class DataValue {
25
25
  return x;
26
26
  }
27
27
  });
28
- if (formInFileInput && (this.$_type === 'string' || this.$_type === 'string[]' || this.$_type === 'array')) {
28
+ if (formInFileInput && (this.$_fields.every(_ => ['string', 'string[]'].includes(_.type)))) {
29
29
  const attachmentMap = formInFileInput.form._exportDataAttachmentMap;
30
30
  if (attachmentMap && attachmentMap[formInFileInput.id]) {
31
31
  const attachment = attachmentMap[formInFileInput.id];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aemforms/af-core",
3
- "version": "0.22.108",
3
+ "version": "0.22.110",
4
4
  "description": "Core Module for Forms Runtime",
5
5
  "author": "Adobe Systems",
6
6
  "license": "Adobe Proprietary",
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@adobe/json-formula": "0.1.50",
40
- "@aemforms/af-formatters": "^0.22.108"
40
+ "@aemforms/af-formatters": "^0.22.110"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@babel/preset-env": "^7.20.2",