Checkbox

Attribute Type Documentation Default Value
field %FormField{}

a form field struct, auto-extracts name, value, id, and checked state

id :string
name :string
value :string

value sent when checked

"true"
checked :boolean false
disabled :boolean false
class :any []
rest :global