Phoenix.LiveView.Components.MultiSelect.Option (MultiSelect v0.1.2)

Summary

Functions

The option struct can be used for passing a list of option values to the multi_select component.

Types

@type t() :: %Phoenix.LiveView.Components.MultiSelect.Option{
  id: integer(),
  label: String.t(),
  selected: boolean()
}

Functions

Link to this function

%Phoenix.LiveView.Components.MultiSelect.Option{}

(struct)

The option struct can be used for passing a list of option values to the multi_select component.