# Default value Select Input

**URL:** <https://forum.elixirforum.com/t/default-value-select-input/71607>\
**Category:** Questions\
**Tags:** phoenix, phoenix\_html, learning-elixir, phoenix\_live\_view\
**Created:** [July 8, 2025, 8:06am UTC](https://forum.elixirforum.com/t/default-value-select-input/71607 "2025-07-08T08:06:47Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![fabricedge1](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/fabricedge1/32/38608_2.png) [@fabricedge1](https://forum.elixirforum.com/u/fabricedge1)\
**Post date:** [August 4, 2025, 1:21am UTC](https://forum.elixirforum.com/t/default-value-select-input/71607/5 "2025-08-04T01:21:52Z")

</div>

other way around:

```elixir
  <.form for={@form} id="main-form" phx-submit="save" phx-change="validate" class="space-y-6">
     <div >
       <label>@privacy_options</label>
       <.input field={@form[:theme]} type="select" options={@theme_options} />
    </div>
  </.form>

```

---

_[View the full topic](https://forum.elixirforum.com/t/default-value-select-input/71607)._
