These inputs are for editing true/false values in your data.
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
.
show_feature: true
featured: true
_inputs:
featured:
type: checkbox
show_feature = true
featured = true
[_inputs.featured]
type = "checkbox"
{
"show_feature": true
}
{
"featured": true,
"_inputs": {
"featured": {
"type": "checkbox"
}
}
}
Switch input for values that can be toggled.
Switch inputs are shown for inputs configured with the type switch
.
featured: true
_inputs:
featured:
type: switch
featured = true
[_inputs.featured]
type = "switch"
{
"featured": true,
"_inputs": {
"featured": {
"type": "switch"
}
}
}