View Source Surface.Components.Form.OptionsForSelect (surface v0.11.4)

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.

Properties

  • options :any, default: [] - The options in the select
  • selected :any, default: nil - The selected values

Summary

Functions

Callback implementation for Surface.Component.render/1.