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
/>
Selected Value: {inputs.name_of_checkbox}
Records Count
10,000
<Checkbox
title="Exclude low values"
name=exclude_low_value
/>
<BigValue fmt=num0 value=records_count data={orders}/>
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