Defines a select

Provides a wrapper for Phoenix.HTML.Form's multiple_select/4 function.

All options passed via opts will be sent to multiple_select/4, class can be set directly and will override anything in opts.

# Public API

Name Description Type Values Default
id The id of the corresponding select field.

form The form identifier.

field The field name.

name The name of the corresponding select field.

class The CSS class for the underlying tag.

options The options in the select.

:any []
selected The default selected option.

opts Options list.

:keyword []