If within a block all field value is set to 'false' or no field value present in that case the block can be removed from JSON-UI
Benefit:
Here in below image I'm not using any field of 'data-guard' block but since the block exists and 'null' is not a valid enum value for 'Enforcement Mode' JSON UI is red. If we remove the 'data-guard' block in this case we'll get a clean JSON UI
When default values are displayed and we click 'select all' check box then those items are counted for deletion, although delete operation is not happening but the count should also not appear
Sample help text for allowed field values for each field
Older UI:Missing in new UI:
Benefit: Here in below image I'm not using any field of 'data-guard' block but since the block exists and 'null' is not a valid enum value for 'Enforcement Mode' JSON UI is red. If we remove the 'data-guard' block in this case we'll get a clean JSON UI
When default values are displayed and we click 'select all' check box then those items are counted for deletion, although delete operation is not happening but the count should also not appear
Sample help text for allowed field values for each field Older UI: Missing in new UI: