Noora.Checkbox
(noora v0.76.0)
Copy Markdown
An input checkbox.
Example
<.checkbox label="I agree to the terms" />
Summary
Functions
Attributes
label(:string) (required) - The label of the checkbox.description(:string) - An optional description. Defaults tonil.indeterminate(:boolean) - Whether the checkbox is indeterminate. Defaults tofalse.disabled(:boolean) - Whether the checkbox is disabled. Defaults tofalse.id(:string) - The id of the checkbox. Defaults tonil.name(:string) - The name of the checkbox.field(Phoenix.HTML.FormField) - A Phoenix form field. Defaults tonil.tabindex(:integer) - Tabindex to add to the checkbox control. Defaults tonil.multiple(:boolean) - Whether the checkbox is part of a multiple checkbox group. Defaults tofalse.- Global attributes are accepted. Additional attributes.