Switch

Implement checkbox input component

Read more Read less

Examples:

Attribute Type Documentation Default Value
Required id * :string
name :string
value :boolean
field %FormField{} a form field struct retrieved from the form, for example: @form[:email]
default-value :any false
class :string
disabled :boolean false
rest :global