mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-04 12:04:20 +08:00
Restore workaround
This commit is contained in:
parent
bd7ba660bd
commit
f953b6d695
1 changed files with 2 additions and 1 deletions
|
@ -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" />
|
||||
|
|
Loading…
Add table
Reference in a new issue