View Source DaisyUIComponents.Select (DaisyUIComponents v0.1.1)

Select component

https://daisyui.com/components/select

Summary

Functions

Attributes

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

Slots

  • inner_block

Functions

Attributes

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

Slots

  • inner_block