mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-17 21:00:45 +00:00
Update to not submit 'undefined' values to backend
This commit is contained in:
@ -1348,7 +1348,10 @@ function ProcessRun({process, table, defaultProcessValues, isModal, isWidget, is
|
||||
const formData = new FormData();
|
||||
Object.keys(values).forEach((key) =>
|
||||
{
|
||||
formData.append(key, values[key]);
|
||||
if (values[key] !== undefined)
|
||||
{
|
||||
formData.append(key, values[key]);
|
||||
}
|
||||
});
|
||||
|
||||
if (tableVariantLocalStorageKey && localStorage.getItem(tableVariantLocalStorageKey))
|
||||
|
Reference in New Issue
Block a user