# `AshPhoenix.AshEnum`
[🔗](https://github.com/ash-project/ash_phoenix/blob/v2.3.21/lib/ash_phoenix/ash_enum.ex#L5)

Utilities for using [`Ash.Type.Enum`](https://hexdocs.pm/ash/Ash.Type.Enum.html)
with Phoenix.

# `options_for_select`

```elixir
@spec options_for_select(module()) :: [{String.t(), atom()}]
```

Takes an Ash enum module and returns a list suitable for passing to
[`Phoenix.HTML.Form.options_for_select/2`](https://hexdocs.pm/phoenix_html/Phoenix.HTML.Form.html#options_for_select/2),
using the enum values and their labels.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
