@fecp/designer 5.5.22 → 5.5.23
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.
|
@@ -477,7 +477,6 @@ async function handleFormSetValue(node, data, fields, context) {
|
|
|
477
477
|
delete formData[value];
|
|
478
478
|
});
|
|
479
479
|
}
|
|
480
|
-
formData = removeEmptyValues(formData);
|
|
481
480
|
delete formData.pageNo;
|
|
482
481
|
delete formData.pageSize;
|
|
483
482
|
const formComponent = ((_a = context.components) == null ? void 0 : _a.form) || ((_b = context.components) == null ? void 0 : _b.table);
|
|
@@ -544,6 +543,7 @@ async function handleFormSubmit(node, data, fields, context) {
|
|
|
544
543
|
delete formData[targetField.fieldName];
|
|
545
544
|
});
|
|
546
545
|
}
|
|
546
|
+
formData = removeEmptyValues(formData);
|
|
547
547
|
const result = await handleApiCall(node, data, fields, context, formData);
|
|
548
548
|
if (!result.success) {
|
|
549
549
|
return result;
|
|
@@ -479,7 +479,6 @@ async function handleFormSetValue(node, data, fields, context) {
|
|
|
479
479
|
delete formData[value];
|
|
480
480
|
});
|
|
481
481
|
}
|
|
482
|
-
formData = common.removeEmptyValues(formData);
|
|
483
482
|
delete formData.pageNo;
|
|
484
483
|
delete formData.pageSize;
|
|
485
484
|
const formComponent = ((_a = context.components) == null ? void 0 : _a.form) || ((_b = context.components) == null ? void 0 : _b.table);
|
|
@@ -546,6 +545,7 @@ async function handleFormSubmit(node, data, fields, context) {
|
|
|
546
545
|
delete formData[targetField.fieldName];
|
|
547
546
|
});
|
|
548
547
|
}
|
|
548
|
+
formData = common.removeEmptyValues(formData);
|
|
549
549
|
const result = await handleApiCall(node, data, fields, context, formData);
|
|
550
550
|
if (!result.success) {
|
|
551
551
|
return result;
|