Supported Features
Document | ✔ |
Media | ✗ |
Include | ✗ |
Document Creation Flow | ✗ |
Push Message | ✗ |
Table Dashboard | ✔ |
Display Filter | ✗ |
Search Indexing | ✔ |
System Metadata | ✔ |
Webhook Conditions | ✔ |
Description
A simple Boolean value store, almost identical to li-boolean
, but as system metadata (does not indicate a draft content change).
Added in: release-2025-01
.
Represented in the UI with a checkbox which you can toggle on/off.
If you want to have the value set to true
during document creation, you can do that via defaultMetadata in your project config.
Default UI
CheckboxStorage Format
<Boolean>
Content Type Config
{
handle: 'myContentType',
// ...
metadata: [
{
handle: 'myHandle'
type: 'li-system-boolean',
config: {
// common
hideFromForm: false, // optional, default: false
index: true // optional, default: false
}
ui: {
label: 'foo', // optional, default: start case of handle
config: {
readOnly: true // optional, default: false
}
}
}
// ...
]
}