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

hide_extra_inputs

Table of contents

Description:

This key toggles whether CloudCannon will hide inputs that are not present in a Schema from the Data Editor and the sidebar of the Visual Editor and Content Editor.

Setting this key to true will hide inputs that are not present in a Schema from the Data Editor and the sidebar of the Visual Editor and Content Editor. Hiding these inputs does not delete the data. You can see non-schema data keys by opening a file in the Source Editor. This key has no effect if remove_extra_inputs is true.

Appears in:
└── collections_config
    └── *
        └── schemas
            └── *
                └── hide_extra_inputs
Type:
boolean
Default value:
false
Examples:

In this example, CloudCannon will hide non-schema inputs in files using the article schema in the blog Collection.

Copied to clipboard
collections_config:
  blog:
    schemas:
      article:
        hide_extra_inputs: true
{
  "collections_config": {
    "blog": {
      "schemas": {
        "article": {
          "hide_extra_inputs": true
        }
      }
    }
  }
}
Open in a new tab