diff --git a/lib/beacon/live_admin/components/visual_editor/key_value_control.ex b/lib/beacon/live_admin/components/visual_editor/key_value_control.ex index ab44bbbc..2fdfa940 100644 --- a/lib/beacon/live_admin/components/visual_editor/key_value_control.ex +++ b/lib/beacon/live_admin/components/visual_editor/key_value_control.ex @@ -1,6 +1,7 @@ defmodule Beacon.LiveAdmin.VisualEditor.KeyValueControl do @moduledoc false +require IEx use Beacon.LiveAdmin.Web, :live_component alias Beacon.LiveAdmin.VisualEditor.ControlSection @@ -29,12 +30,16 @@ defmodule Beacon.LiveAdmin.VisualEditor.KeyValueControl do <%= if @editing do %> - <.form :let={f} for={@form} phx-submit="save" phx-change="handle_change" phx-target={@myself}> + <.form :let={f} for={@changeset} phx-submit="save" phx-change="handle_change" phx-target={@myself}> <%!--