From 9faf55f2d6c39f6059a12c771b0f9637e0133423 Mon Sep 17 00:00:00 2001 From: graham-dds Date: Wed, 9 Oct 2019 15:16:23 -0400 Subject: [PATCH] new app step 1 form is submitable with initial data --- js/components/forms/new_application/name_and_description.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/components/forms/new_application/name_and_description.js b/js/components/forms/new_application/name_and_description.js index f39234f9..cabcd92c 100644 --- a/js/components/forms/new_application/name_and_description.js +++ b/js/components/forms/new_application/name_and_description.js @@ -10,6 +10,10 @@ export default { components: { textinput, }, + created: function() { + this.$root.$on('field-change', this.handleFieldChange) + if (this.initialData) this.changed = true + }, data: function() { return {