@arquimedes.co/eureka-forms 1.0.9-test → 1.1.3-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.
|
@@ -191,7 +191,10 @@ var mapOriginal = function (values, form) {
|
|
|
191
191
|
return newValues;
|
|
192
192
|
};
|
|
193
193
|
var updateValue = function (idStep, values, form, customSteps) {
|
|
194
|
+
console.log('FORM', form);
|
|
194
195
|
var step = form.steps[idStep];
|
|
196
|
+
console.log('idStep', idStep);
|
|
197
|
+
console.log('STEP:', step);
|
|
195
198
|
switch (step === null || step === void 0 ? void 0 : step.type) {
|
|
196
199
|
case Types.TEXTAREA: {
|
|
197
200
|
var value = values[step.id];
|
|
@@ -222,8 +225,8 @@ var updateValue = function (idStep, values, form, customSteps) {
|
|
|
222
225
|
// eslint-disable-next-line no-console
|
|
223
226
|
console.log(customSteps);
|
|
224
227
|
// eslint-disable-next-line no-console
|
|
225
|
-
console.log('
|
|
226
|
-
var custom = customSteps[
|
|
228
|
+
console.log('TYPE', step === null || step === void 0 ? void 0 : step.type);
|
|
229
|
+
var custom = customSteps[step === null || step === void 0 ? void 0 : step.type];
|
|
227
230
|
// eslint-disable-next-line no-console
|
|
228
231
|
console.log('UPDATE:', custom);
|
|
229
232
|
if (custom !== undefined) {
|
package/package.json
CHANGED