diff --git a/app/views/_tailwind/applications/_address_search_form.html.erb b/app/views/_tailwind/applications/_address_search_form.html.erb index d46eca707..12fc4f34b 100644 --- a/app/views/_tailwind/applications/_address_search_form.html.erb +++ b/app/views/_tailwind/applications/_address_search_form.html.erb @@ -10,7 +10,6 @@ Find me applications within <%= meters_in_words(Alert::DEFAULT_RADIUS) %> of:

<%= form.label :q, "Street address", class: "sr-only" %> - <%# TODO: Re-enable autofocus:true below after finished testing with livereload %>
error), required: "required", + autofocus: true, "x-data" => "{ async initAutocomplete() { const { Autocomplete } = await google.maps.importLibrary('places'); new Autocomplete($el, {componentRestrictions: {country: 'au'}, types: ['address']})}