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

remove_extra_inputs

Table of contents

Description:

This key toggles whether CloudCannon will remove inputs that are not present in a Schema from a file before loading it in an Editing Interface.

Setting this key to false will preserve inputs that are not present in a Schema, making them visible in the Visual Editor, Content Editor, and Data Editor, and they will be saved to your Git repository.

Appears in:
└── collections_config
    └── *
        └── schemas
            └── *
                └── remove_extra_inputs
Type:
boolean
Default value:
true
Examples:

In this example, CloudCannon will preserve extra inputs in files using the article schema in the blog Collection.

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