View Source Bonfire.UI.Common.MultiselectLive (bonfire v0.3.5-classic-beta.10)

properties

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

  • form_input_name :string, required: true

  • label :string, default: nil

  • preloaded_options :any, default: nil

  • selected_options :any, default: nil

  • show_search :boolean, default: false

  • focus_event :string, required: false

  • pick_event :string, required: false

  • remove_event :string, default: nil

  • event_target :any, default: nil

  • context_id :string, default: nil

  • class :css_class, default: nil

Link to this section Summary

Link to this section Functions

Link to this function

handle_event(action, attrs, socket)

View Source

Callback implementation for Phoenix.LiveComponent.handle_event/3.

Link to this function

handle_info(info, socket)

View Source

Callback implementation for Phoenix.LiveComponent.mount/1.

Link to this function

preloaded_options(preloaded_options)

View Source

Callback implementation for Phoenix.LiveComponent.render/1.

Link to this function

selected_options(selected_options, field_name, context, preloaded_options)

View Source

Callback implementation for Phoenix.LiveComponent.update/2.