- Description:
This key toggles whether CloudCannon will hide inputs that are not present in a Structure from the Data Editor.
Setting this key to
truewill hide inputs that are not present in a Structure from the Data Editor. Hiding these inputs does not delete the data. You can see non-structure data keys by opening a file in the Source Editor. This key has no effect ifremove_extra_inputsistrue.You can also configure this behavior for specific values of a Structure using
values[*].hide_extra_inputs.- Appears in:
└── Structure └── hide_extra_inputs- Type:
boolean- Default value:
false- Examples:
In this example, we don't want inputs outside of those listed in the Structure (e.g., old inputs from deprecated versions of this Structure) to appear in the Data Editor.
Copied to clipboard_structures: related_articles: hide_extra_inputs: true values: - value: name: description: url:{ "_structures": { "related_articles": { "hide_extra_inputs": true, "values": [ { "value": null, "name": null, "description": null, "url": null } ] } } }