Skip to content

Commit

Permalink
fix: Make DOM ID's unique for trip planner search boxes (#2284)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshlarson authored Dec 20, 2024
1 parent 863d929 commit 2f7710d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dotcom_web/components/trip_planner/input_form.ex
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ defmodule DotcomWeb.Components.TripPlanner.InputForm do
phx-change="input_form_change"
phx-submit="input_form_submit"
>
<div :for={field <- [:from, :to]} class="mb-1" id="trip-planner-locations">
<div :for={field <- [:from, :to]} class="mb-1" id={"trip-planner-locations-#{field}"}>
<.algolia_autocomplete
config_type="trip-planner"
placeholder="Enter a location"
Expand Down

0 comments on commit 2f7710d

Please sign in to comment.