Browse Source

Add accessible autocomplete to new user org select (#819)

pull/823/head
baarkerlounger 2 years ago committed by GitHub
parent
commit
2c44fd1def
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      app/views/users/new.html.erb

1
app/views/users/new.html.erb

@ -37,6 +37,7 @@
answer_options, answer_options,
:id, :id,
:name, :name,
"data-controller": "accessible-autocomplete",
label: { text: "Organisation", size: "m" }, label: { text: "Organisation", size: "m" },
options: { disabled: [""], selected: @organisation_id ? answer_options.first : "" } %> options: { disabled: [""], selected: @organisation_id ? answer_options.first : "" } %>
<% end %> <% end %>

Loading…
Cancel
Save