Choose your preferred SSG:
Choose your preferred SSG:

Using Boolean Inputs to edit your data

These inputs are for editing true/false values in your data.

Checkbox

Checkbox input for values that can be toggled.

Checkbox inputs are shown for inputs configured with the type checkbox, or for the inputs values true and false.

Screenshot of checkbox input field
Value convention
show_feature: true
Input configuration
featured: true
_inputs:
  featured:
    type: checkbox

Switch

Switch input for values that can be toggled.

Switch inputs are shown for inputs configured with the type switch.

Screenshot of switch input field
Input configuration
featured: true
_inputs:
  featured:
    type: switch
Was this article helpful? or Suggest an improvement >

Related articles