- Description:
This key toggles whether CloudCannon will remove empty nested inputs from an Object Input or Array Input using a given value from a Structure before persisting them to your file.
Setting this key to
truewill remove empty nested inputs from an Object Input or Array Input using a given value from a Structure before persisting them to your file. CloudCannon considers an input to be empty when its value isnull,' ', or undefined. If this key is true, empty inputs will be visible in the Data Editor but not the Source Editor. For this key to function, you must also configureid_keyfor the Structure, as removing inputs prevents CloudCannon from comparing Structure values.You can also configure this behavior for all values of a Structure using
remove_empty_inputsinside_structures.*.- Appears in:
└── [*] └── remove_empty_inputs- Type:
boolean- Default value:
false- Examples: