From f953b6d695e39405be822e6cd054d36799e3fd6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Tue, 11 Mar 2025 17:02:53 +0900 Subject: [PATCH] Restore workaround --- lib/livebook_web/components/form_components.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/livebook_web/components/form_components.ex b/lib/livebook_web/components/form_components.ex index afa49cca9..e809eb32f 100644 --- a/lib/livebook_web/components/form_components.ex +++ b/lib/livebook_web/components/form_components.ex @@ -497,7 +497,8 @@ defmodule LivebookWeb.FormComponents do {@rest} > - {Phoenix.HTML.Form.options_for_select(@options, @value)} + <%!-- TODO: remove to_string/1 when fixed upstream, see https://github.com/phoenixframework/phoenix_html/issues/444#issuecomment-2713061480 --%> + {Phoenix.HTML.Form.options_for_select(@options, to_string(@value))}
<.remix_icon icon="arrow-down-s-line" />