OptionsForSelect
Defines options to be used inside a select
This is useful when building the select by hand.
Provides a wrapper for Phoenix.HTML.Form's options_for_select/2
function.
Defines options to be used inside a select
This is useful when building the select by hand.
Provides a wrapper for Phoenix.HTML.Form's options_for_select/2
function.
Name | Description | Type | Values | Default |
---|---|---|---|---|
options
| The options in the select. |
:any
| — |
[]
|
selected
| The selected values. |
:any
| — |
nil
|
Name | Description | Arguments |
---|
Name | Description |
---|
Name | Description |
---|