Checkbox

Inline label

I can be either true or false 🤔

Attribute Type Documentation Default Value
id :string The component ID
Required form * :any The form around the input group.
Required field * :atom The form field key.
value :boolean The checkbox value (checked). Use is discouraged, use a changeset
hint :string An hint to display below the input
disabled :boolean Set to true to disable the input. false
errors :list
label :string A label for the input.
checkbox_label :string Inlined label displayed next to the checkbox.
group_class :string Extend input group class.
wrapper_class :string Extend the class of the div wrapping the input.
input_class :string Extend the class of the checkbox input itself.
disabled_input_class :string Extend the class of the checkbox input itself, when disabled.
rest :global