From d9e98a55d2fe1fe21f164e2cff3d60c7bdb29cbd Mon Sep 17 00:00:00 2001 From: Scott Pouliot Date: Tue, 2 Jun 2026 12:16:30 -0400 Subject: [PATCH] Fix customer email inputs to allow comma-separated addresses type="email" triggers jQuery Validate's email rule which rejects commas, blocking multi-address input despite the multiple attribute. Switching to type="text" defers validation to the server-side SplitEmails/MailAddress logic in the DTO which already handles comma-separated lists correctly. Co-Authored-By: Claude Sonnet 4.6 --- src/PowderCoating.Web/Views/Customers/Create.cshtml | 4 ++-- src/PowderCoating.Web/Views/Customers/Edit.cshtml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/PowderCoating.Web/Views/Customers/Create.cshtml b/src/PowderCoating.Web/Views/Customers/Create.cshtml index 7486488..a02b9a3 100644 --- a/src/PowderCoating.Web/Views/Customers/Create.cshtml +++ b/src/PowderCoating.Web/Views/Customers/Create.cshtml @@ -74,7 +74,7 @@
- +
@@ -91,7 +91,7 @@ - +
When set, invoices are emailed here instead of the contact email.
diff --git a/src/PowderCoating.Web/Views/Customers/Edit.cshtml b/src/PowderCoating.Web/Views/Customers/Edit.cshtml index 14f93dd..16df1b6 100644 --- a/src/PowderCoating.Web/Views/Customers/Edit.cshtml +++ b/src/PowderCoating.Web/Views/Customers/Edit.cshtml @@ -78,7 +78,7 @@
- +
@@ -95,7 +95,7 @@ - +
When set, invoices are emailed here instead of the contact email.