View Source DaisyUIComponents.Input (DaisyUIComponents v0.1.6)
Generic Input component
Summary
Functions
Renders a generic input based on type.
Functions
Renders a generic input based on type.
Examples
<.input type="email" />
<.input name="my-input" type="checkbox" value="false" />
Attributes
id
(:any
) - Defaults tonil
.type
(:string
) - Defaults to"text"
.bordered
(:boolean
) - Defaults tofalse
.- Global attributes are accepted. Supports all globals plus:
["name", "value", "checked", "prompt", "options", "multiple", "autocomplete", "cols", "disabled", "form", "list", "max", "maxlength", "min", "minlength", "pattern", "placeholder", "readonly", "required", "rows", "size", "step"]
.
Slots
inner_block