Checkbox

Creates a checkbox with toggleable input. The Title and Name attributes can be defined, enabling the passing of true and false values.

<Checkbox
    title="Hide Months 0" 
    name=hide_months_0 
/>

Checkbox using Default Value

Defining the defaultValue property will set the initial checked value with true and false.

Selected Value: true

<Checkbox
    title="Title of checkbox" 
    name=name_of_checkbox
    defaultValue=true
/>

Loading...

Checkbox

Options

Required

Name of the checkbox, used to reference the selected value elsewhere as {inputs.name.value}

Value to use when checkbox is first loaded. True value for checked, false for unchecked

Options:
boolean
Default:
false