- 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
falsewill 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
articleschema in theblogCollection.Copied to clipboardcollections_config: blog: schemas: article: remove_extra_inputs: false{ "collections_config": { "blog": { "schemas": { "article": { "remove_extra_inputs": false } } } } }