diff --git a/client/src/components/Form/FormDisplay.vue b/client/src/components/Form/FormDisplay.vue index 94029923c1b6..e51dfe7e39b1 100644 --- a/client/src/components/Form/FormDisplay.vue +++ b/client/src/components/Form/FormDisplay.vue @@ -139,7 +139,10 @@ export default { }, created() { this.onCloneInputs(); - this.onChange(); + // build flat formData that is ready to be submitted + this.formData = this.buildFormData(); + // emit back to parent, so that parent has submittable data + this.$emit("onChange", this.formData); // highlight initial warnings this.onWarnings(); // highlight initial errors