@builttocreate/engine-utils 1.16.0-rc6 → 1.16.0-rc7
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/dist/formHelper.js +3 -1
- package/package.json +1 -1
package/dist/formHelper.js
CHANGED
|
@@ -36,6 +36,8 @@ var getDefaultPage = function getDefaultPage() {
|
|
|
36
36
|
return _objectSpread({
|
|
37
37
|
_id: (0, _generateObjectId["default"])(),
|
|
38
38
|
name: 'New Page',
|
|
39
|
+
width: 816,
|
|
40
|
+
height: 1056,
|
|
39
41
|
fields: [],
|
|
40
42
|
layoutMode: _PageLayoutModes["default"].grid,
|
|
41
43
|
fieldStyleMode: _FieldStyleModes["default"].normal
|
|
@@ -125,7 +127,7 @@ var getv2FormUpdatePayload = function getv2FormUpdatePayload(formPayload) {
|
|
|
125
127
|
* and not on the fieldPosition object.
|
|
126
128
|
*/
|
|
127
129
|
|
|
128
|
-
var fieldKeys = ['identifier', 'title', 'value', 'tableColumns', 'tableColumnOrder', 'options', 'yTitle', 'yMax', 'yMin', 'xTitle', 'xMax', 'xMin'];
|
|
130
|
+
var fieldKeys = ['identifier', 'type', 'title', 'value', 'tableColumns', 'tableColumnOrder', 'options', 'yTitle', 'yMax', 'yMin', 'xTitle', 'xMax', 'xMin'];
|
|
129
131
|
/**
|
|
130
132
|
* Step 1: Properly save fields and field postion date
|
|
131
133
|
*/
|