diff --git a/src/qqq/components/forms/EntityForm.tsx b/src/qqq/components/forms/EntityForm.tsx index 6a2134c..f990fc9 100644 --- a/src/qqq/components/forms/EntityForm.tsx +++ b/src/qqq/components/forms/EntityForm.tsx @@ -243,10 +243,10 @@ function EntityForm(props: Props): JSX.Element switch(action) { case "insert": - newChildListWidgetData[widgetName].queryOutput.records.push(new QRecord({values: values})) + newChildListWidgetData[widgetName].queryOutput.records.push({values: values}) break; case "edit": - newChildListWidgetData[widgetName].queryOutput.records[rowIndex] = new QRecord({values: values}); + newChildListWidgetData[widgetName].queryOutput.records[rowIndex] = {values: values}; break; case "delete": newChildListWidgetData[widgetName].queryOutput.records.splice(rowIndex, 1); @@ -747,7 +747,7 @@ function EntityForm(props: Props): JSX.Element } associationsToPost[manageAssociationName] = []; haveAssociationsToPost = true; - for(let i=0; i + warning} onClose={() => { setWarningMessage(null); }}>