@aemforms/af-core 0.22.83 → 0.22.84

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.
@@ -3006,6 +3006,7 @@ class Form extends Container {
3006
3006
  _applyDefaultsInModel() {
3007
3007
  const current = this.specVersion;
3008
3008
  this._jsonModel.properties = this._jsonModel.properties || {};
3009
+ this._jsonModel.fieldType = this._jsonModel.fieldType || 'form';
3009
3010
  if (current.lessThan(changeEventVersion) ||
3010
3011
  typeof this._jsonModel.properties['fd:changeEventBehaviour'] !== 'string') {
3011
3012
  this._jsonModel.properties['fd:changeEventBehaviour'] = 'self';
package/lib/Form.js CHANGED
@@ -54,6 +54,7 @@ class Form extends Container_1.default {
54
54
  _applyDefaultsInModel() {
55
55
  const current = this.specVersion;
56
56
  this._jsonModel.properties = this._jsonModel.properties || {};
57
+ this._jsonModel.fieldType = this._jsonModel.fieldType || 'form';
57
58
  if (current.lessThan(changeEventVersion) ||
58
59
  typeof this._jsonModel.properties['fd:changeEventBehaviour'] !== 'string') {
59
60
  this._jsonModel.properties['fd:changeEventBehaviour'] = 'self';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aemforms/af-core",
3
- "version": "0.22.83",
3
+ "version": "0.22.84",
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.83"
40
+ "@aemforms/af-formatters": "^0.22.84"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@babel/preset-env": "^7.20.2",