From d6b792f7a596efa3b9073e996dc1e1fb95b968b2 Mon Sep 17 00:00:00 2001 From: emielvdveen Date: Tue, 5 Dec 2023 21:40:34 +0100 Subject: [PATCH] Fixed storage type selector (radio group) --- core/frameworks/pixel/components/radio_group.ex | 2 +- core/systems/storage/endpoint_form.ex | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/frameworks/pixel/components/radio_group.ex b/core/frameworks/pixel/components/radio_group.ex index 1b53d9f9e..56a4cad6a 100644 --- a/core/frameworks/pixel/components/radio_group.ex +++ b/core/frameworks/pixel/components/radio_group.ex @@ -34,7 +34,7 @@ defmodule Frameworks.Pixel.RadioGroup do end @impl true - def handle_event("change", _, socket) do + def handle_event("change", _payload, socket) do # ignore change, this happens always the first time rendering {:noreply, socket} end diff --git a/core/systems/storage/endpoint_form.ex b/core/systems/storage/endpoint_form.ex index 1189b9e63..bc47e9951 100644 --- a/core/systems/storage/endpoint_form.ex +++ b/core/systems/storage/endpoint_form.ex @@ -110,6 +110,7 @@ defmodule Systems.Storage.EndpointForm do special: special ) |> update_special_title() + |> compose_child(:type_selector) |> compose_child(:special_form) } end