From e5430101fa215bcd489e319c4ad19ba40ff8ac8d Mon Sep 17 00:00:00 2001 From: Tim Chamberlain Date: Wed, 8 Nov 2023 08:57:42 -0600 Subject: [PATCH] updates to put blob data back into data that is posted to backend on record edits --- src/qqq/components/forms/EntityForm.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/qqq/components/forms/EntityForm.tsx b/src/qqq/components/forms/EntityForm.tsx index cf98258..e539c37 100644 --- a/src/qqq/components/forms/EntityForm.tsx +++ b/src/qqq/components/forms/EntityForm.tsx @@ -471,6 +471,10 @@ function EntityForm(props: Props): JSX.Element console.log(`${fieldName} value was a string, so, we're deleting it from the values array, to not submit it to the backend, to not change it.`); delete(valuesToPost[fieldName]); } + else + { + valuesToPost[fieldName] = values[fieldName]; + } } }