From 3e4efc2fd29f85a68566ab4c9696d8259dc06ca2 Mon Sep 17 00:00:00 2001 From: ztimson Date: Fri, 5 Jun 2026 10:15:28 -0400 Subject: [PATCH] Lock contact form on success --- src/app/components/contact/contact.component.html | 2 +- src/app/components/contact/contact.component.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/components/contact/contact.component.html b/src/app/components/contact/contact.component.html index 809c828..d5194ec 100644 --- a/src/app/components/contact/contact.component.html +++ b/src/app/components/contact/contact.component.html @@ -37,7 +37,7 @@
- +
diff --git a/src/app/components/contact/contact.component.ts b/src/app/components/contact/contact.component.ts index ead2ed2..06dc2fb 100644 --- a/src/app/components/contact/contact.component.ts +++ b/src/app/components/contact/contact.component.ts @@ -27,6 +27,7 @@ export class ContactComponent { try { await this.momentum.api.data.create(MomentumService.SCHEMA['contact'], this.form.value); this.success = true; + this.form.disable(); } catch (error: any) { this.error = error.message; }