MultipleSelect

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.

:string
form The form identifier.

:form
field The field name.

:string
name The name of the corresponding select field.

:string
class The CSS class for the underlying tag.

:css_class
options The options in the select.

:any []
selected The default selected option.

:any
opts Options list.

:keyword []