From 2c44fd1def5e6db4821766030fc1824d90d087d3 Mon Sep 17 00:00:00 2001 From: baarkerlounger <5101747+baarkerlounger@users.noreply.github.com> Date: Mon, 8 Aug 2022 10:53:13 +0100 Subject: [PATCH] Add accessible autocomplete to new user org select (#819) --- app/views/users/new.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb index cf72e49f0..b3311bcfb 100644 --- a/app/views/users/new.html.erb +++ b/app/views/users/new.html.erb @@ -37,6 +37,7 @@ answer_options, :id, :name, + "data-controller": "accessible-autocomplete", label: { text: "Organisation", size: "m" }, options: { disabled: [""], selected: @organisation_id ? answer_options.first : "" } %> <% end %>