ยฉ 2026 Hedgehog Software, LLC
manage_relationship(:resource, type: :direct_control)
def handle_event("add-form", %{"path" => path}, socket) do form = AshPhoenix.Form.add_form(socket.assigns.edit_form, path, params: %{}) {:noreply, assign(socket, :edit_form, form)} end
def handle_event("update_edit_form", params, socket) do {:noreply, update(socket, :edit_form, &AshPhoenix.Form.validate(&1, params))} end