DaisyUIComponents.Select (DaisyUIComponents v0.8.3)

View Source

Select component

https://daisyui.com/components/select

Summary

Functions

Attributes

  • class (:any) - Defaults to nil.
  • color (:string) - Must be one of "primary", "secondary", "accent", "info", "success", "warning", or "error".
  • ghost (:boolean) - Defaults to false.
  • size (:string) - Must be one of "xs", "sm", "md", "lg", or "xl".
  • value (:any) - Defaults to nil.
  • Global attributes are accepted. Supports all globals plus: ["name", "value", "multiple"].

Slots

  • inner_block

Functions

select(assigns)

Attributes

  • class (:any) - Defaults to nil.
  • color (:string) - Must be one of "primary", "secondary", "accent", "info", "success", "warning", or "error".
  • ghost (:boolean) - Defaults to false.
  • size (:string) - Must be one of "xs", "sm", "md", "lg", or "xl".
  • value (:any) - Defaults to nil.
  • Global attributes are accepted. Supports all globals plus: ["name", "value", "multiple"].

Slots

  • inner_block