Attribute Type Documentation Default Value
id :any

Id for the select html tag

field %FormField{}

a form field struct retrieved from the form, for example: @form[:email]

label :string

The label for the select

name :any

Name of the select html tag

error :boolean

Set error state for select

false
disabled :boolean

Set disabled state

false
readonly :boolean

Set readonly state

false
multiple :boolean

Allow multiple selections

false
rest :global

Other attributes of the Breadcrumbs

size :string

Size for select

"md"
class :string

CSS class for the hint element

""
inner_block :slot

Inner content

<%= Phoenix.HTML.Form.options_for_select([Italy: "Italy", Spain: "Spain", China: "China", Germany: "Germany"], "Italy") %>
hint :slot

Information or Error massage

Show slot attributes Hide slot attributes
class :any

CSS class for the hint element