@arquimedes.co/eureka-forms 1.1.0-test → 1.1.1-test

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.
@@ -193,6 +193,7 @@ var mapOriginal = function (values, form) {
193
193
  var updateValue = function (idStep, values, form, customSteps) {
194
194
  console.log('FORM', form);
195
195
  var step = form.steps[idStep];
196
+ console.log('STEP:', step);
196
197
  switch (step === null || step === void 0 ? void 0 : step.type) {
197
198
  case Types.TEXTAREA: {
198
199
  var value = values[step.id];
@@ -223,8 +224,8 @@ var updateValue = function (idStep, values, form, customSteps) {
223
224
  // eslint-disable-next-line no-console
224
225
  console.log(customSteps);
225
226
  // eslint-disable-next-line no-console
226
- console.log('idStep', idStep);
227
- var custom = customSteps[idStep];
227
+ console.log('TYPE', step.type);
228
+ var custom = customSteps[step.type];
228
229
  // eslint-disable-next-line no-console
229
230
  console.log('UPDATE:', custom);
230
231
  if (custom !== undefined) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arquimedes.co/eureka-forms",
3
3
  "repository": "git://github.com/Arquimede5/Eureka-Forms.git",
4
- "version":"1.1.0-test",
4
+ "version":"1.1.1-test",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
7
7
  "build": "react-scripts build",