Restore workaround

This commit is contained in:
Jonatan Kłosko 2025-03-11 17:02:53 +09:00
parent bd7ba660bd
commit f953b6d695

View file

@ -497,7 +497,8 @@ defmodule LivebookWeb.FormComponents do
{@rest}
>
<option :if={@prompt} value="">{@prompt}</option>
{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))}
</select>
<div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-500">
<.remix_icon icon="arrow-down-s-line" />