Skip to content

Commit

Permalink
Add search url
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinssa committed Feb 3, 2025
1 parent 36a40b6 commit bbefca7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/form/_address_autocomplete_question.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<%= f.govuk_select(question.id.to_sym,
label: legend(question, page_header, conditional),
"data-controller": "address-autocomplete",
"data-info": { search_url: address_options_url }.to_json,
caption: caption(caption_text, page_header, conditional),
hint: { text: question.hint_text&.html_safe }) do %>
<% if answers.any? %>
Expand Down

0 comments on commit bbefca7

Please sign in to comment.