Skip to content

Commit

Permalink
add form ids
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmarcon committed Nov 29, 2023
1 parent 00e6cfd commit a2d0a1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/support/live_select_web/live/showcase_live.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<div class="prose text-center flex flex-row justify-center mt-2">
<h4>Change settings here:</h4>
</div>
<.form for={@settings_form} phx-change="update-settings">
<.form for={@settings_form} phx-change="update-settings" id="settings-form">
<div class="flex flex-wrap p-5 gap-2">
<div class="form-control max-w-sm">
<%= label(@settings_form, :mode, "Mode:", class: "label label-text font-semibold") %>
Expand Down Expand Up @@ -274,7 +274,7 @@
<h4>Try out the component here:</h4>
</div>
<div class="md:w-3/4">
<.form for={@live_select_field.form} phx-change="change" phx-submit="submit">
<.form for={@live_select_field.form} phx-change="change" phx-submit="submit" id="live-select-form">
<div class="grid grid-cols-4 gap-1">
<div class="col-span-3 form-control">
<.live_select
Expand Down

0 comments on commit a2d0a1f

Please sign in to comment.