☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

False Preview Entry

Table of contents

Description:

This key represents a preview entry that disables the preview display for a specific field on Cards in the Collection browser, Structures, and Snippets.

The value must be false. Setting a preview entry to false will hide that preview element.

Appears in:
├── Preview Entry
│   └── False Preview Entry
├── _inputs
│   └── *
│       └── Text Input
│           └── options
│               ├── icon_color
│               │   └── False Preview Entry
│               └── icon_background_color
│                   └── False Preview Entry
├── text
│   └── False Preview Entry
├── subtext
│   └── False Preview Entry
├── image
│   └── False Preview Entry
├── icon
│   └── False Preview Entry
├── icon_color
│   └── False Preview Entry
├── icon_background_color
│   └── False Preview Entry
└── background_color
    └── False Preview Entry
Type:
false
Examples:

In this example, we have configured the preview text to be disabled.

Copied to clipboard
collections_config:
  blog:
    preview:
      text: false
{
  "collections_config": {
    "blog": {
      "preview": {
        "text": false
      }
    }
  }
}
Open in a new tab