PrenixComponents.Autocomplete (prenix_components v0.1.2)

Summary

Functions

Attributes

  • name (:string) (required)
  • options (:list) (required)
  • id (:string)
  • value (:any) - Defaults to nil.
  • type (:string) - Defaults to "single".
  • size (:string) - Defaults to "md".
  • label_placement (:string) - Defaults to "inside".
  • label_text (:string) - Defaults to nil.
  • helper_text (:string) - Defaults to nil.
  • invalid (:boolean) - Defaults to false.
  • disabled (:boolean) - Defaults to false.
  • allow_blank (:boolean) - Defaults to false.
  • placeholder (:string) - Defaults to nil.
  • class (:string) - Defaults to nil.
  • wrapper_class (:string) - Defaults to nil.
  • label_class (:string) - Defaults to nil.
  • input_wrapper_class (:string) - Defaults to nil.
  • input_class (:string) - Defaults to nil.
  • helper_class (:string) - Defaults to nil.

Slots

  • label
  • helper
  • start_content
  • end_content

Functions

Link to this function

autocomplete(assigns)

Attributes

  • name (:string) (required)
  • options (:list) (required)
  • id (:string)
  • value (:any) - Defaults to nil.
  • type (:string) - Defaults to "single".
  • size (:string) - Defaults to "md".
  • label_placement (:string) - Defaults to "inside".
  • label_text (:string) - Defaults to nil.
  • helper_text (:string) - Defaults to nil.
  • invalid (:boolean) - Defaults to false.
  • disabled (:boolean) - Defaults to false.
  • allow_blank (:boolean) - Defaults to false.
  • placeholder (:string) - Defaults to nil.
  • class (:string) - Defaults to nil.
  • wrapper_class (:string) - Defaults to nil.
  • label_class (:string) - Defaults to nil.
  • input_wrapper_class (:string) - Defaults to nil.
  • input_class (:string) - Defaults to nil.
  • helper_class (:string) - Defaults to nil.

Slots

  • label
  • helper
  • start_content
  • end_content