From 10f61994c8f6811020b0143935bb2df3921533fd Mon Sep 17 00:00:00 2001 From: James Mead Date: Fri, 10 Nov 2023 12:08:31 +0000 Subject: [PATCH] Remove incorrect type from edit user name input This was a mistake in #2497. There is no such input type as "name" - it was a copy & paste error. In this case there's no need to specifiy a type at all; we can just rely on the default "text" type for the `input` component [1]. [1]: https://components.publishing.service.gov.uk/component-guide/input#specific_input_type --- app/views/users/names/edit.html.erb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/views/users/names/edit.html.erb b/app/views/users/names/edit.html.erb index 64ff41a06..f8618c935 100644 --- a/app/views/users/names/edit.html.erb +++ b/app/views/users/names/edit.html.erb @@ -46,7 +46,6 @@ text: "Name" }, name: "user[name]", - type: "name", id: "user_name", value: @user.name, autocomplete: "off",