--- title: li-boolean description: "A simple Boolean value store, represented in the UI with a checkbox which you can toggle on/off." --- ## Supported Features | Feature | Supported | | ------- | :-------: | | Document | ✔ | | Media | ✔ | | Include | ✔ | | Document Creation Flow | ✔ | | Push Message | ✔ | | Usage Log | ✔ | | Table Dashboard | ✔ | | Display Filter | ✗ | | Search Indexing | ✔ | | System Metadata | ✗ | | Planning System | ✗ | | Webhook Conditions | ✔ | ## Description A simple Boolean value store, 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](/reference/project-config/content-types/llms.txt#default-metadata) in your project config. ## Default UI Checkbox ## Storage Format ```js ``` ## Content Type Config ```js { handle: 'myContentType', // ... metadata: [ { handle: 'myHandle' type: 'li-boolean', config: { // common hideFromForm: false, // optional, default: false index: true // optional, default: false. Added in release-2023-07 } ui: { label: 'foo', // optional, default: start case of handle config: { readOnly: true // optional, default: false } } } // ... ] } ```