lustre/ui/combobox

Types

pub opaque type Item

Constants

pub const name: String

Functions

pub fn combobox(
  attributes: List(Attribute(a)),
  children: List(Item),
) -> Element(a)
pub fn on_change(handler: fn(String) -> a) -> Attribute(a)
pub fn option(value value: String, label label: String) -> Item
pub fn placeholder(value: String) -> Attribute(a)
pub fn register() -> Result(Nil, Error)
pub fn value(value: String) -> Attribute(a)
Search Document