View Source LightningWeb.JobLive.AdaptorPicker (Lightning v2.10.4)

Component allowing selecting an adaptor and it's version

Summary

Functions

Converts standard adaptor names into "label","value" lists and returns non-standard names as merely "value"; both can be passed directly into a select option list.

Attributes

  • form (:map) (required)
  • on_change (:any) - Defaults to nil.
  • disabled (:boolean) - Defaults to false.

Functions

Link to this function

display_name_for_adaptor(name)

View Source
@spec display_name_for_adaptor(String.t()) :: String.t() | {String.t(), String.t()}

Converts standard adaptor names into "label","value" lists and returns non-standard names as merely "value"; both can be passed directly into a select option list.

Link to this function

get_adaptor_version_options(adaptor)

View Source

Attributes

  • form (:map) (required)
  • on_change (:any) - Defaults to nil.
  • disabled (:boolean) - Defaults to false.