Surface.Components.Form.Select (surface v0.1.0) View Source
Defines a select.
Provides a wrapper for Phoenix.HTML.Form's select/4
function.
All options passed via opts
will be sent to select/4
, class
can
be set directly and will override anything in opts
.
Properties
- form :form - The form identifier.
- field :string - The field name.
- class :css_class - The CSS class for the underlying tag.
- options :any, default: [] - The options in the select.
- opts :keyword, default: [] - Options list.
Link to this section Summary
Functions
Callback implementation for Phoenix.LiveComponent.mount/1
.
Callback implementation for Phoenix.LiveComponent.render/1
.
Link to this section Functions
Callback implementation for Phoenix.LiveComponent.mount/1
.
Callback implementation for Phoenix.LiveComponent.render/1
.