From b19db9b709e31550feb91cba4e90a739d5c1a89b Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Sun, 28 Apr 2019 23:43:51 -0400 Subject: [PATCH] Reset the error count on contact form submission success --- resources/components/pages/contact.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/components/pages/contact.vue b/resources/components/pages/contact.vue index 0f718bb..b5ecd2d 100644 --- a/resources/components/pages/contact.vue +++ b/resources/components/pages/contact.vue @@ -93,6 +93,7 @@ this.$http.post("/api/contact-submit" + env.apiToken, JSON.stringify(this.form)).then((response) => { // Success $(this.$el).find(":input").attr("disabled", true); + this.errorCount = 0; this.submitSuccess = true; this.submitting = false; }, (response) => {