From 4a6c414d9e1760c5071bc4c9a63dc417448a5609 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Thu, 26 Mar 2026 07:56:59 -0400 Subject: [PATCH] Updated customer form to use auto complete to help prevent duplicate customer enteries --- app/views/customers/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/customers/_form.html.erb b/app/views/customers/_form.html.erb index e9f2cf1..abda586 100644 --- a/app/views/customers/_form.html.erb +++ b/app/views/customers/_form.html.erb @@ -7,7 +7,7 @@
<%=t(:label_display_name)%>
- <%= f.text_field :name, required: true, autocomplete: "off" %> + <%= f.text_field :name, required: true, class: "customer-name", autocomplete: "off", data: { autocomplete_url: "/customers/autocomplete" } %>