commons-shared-web-ui 0.0.67 → 0.0.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8295,6 +8295,13 @@ class FormSchemaTreeService {
8295
8295
  'textConfig', 'emailConfig', 'phoneConfig', 'numberConfig',
8296
8296
  'dateConfig', 'optionConfig', 'attachmentConfig', 'richTextConfig',
8297
8297
  'ratingConfig', 'locationConfig', 'generatedConfig', 'rangeConfig',
8298
+ // GEOGRAPHY_DYNAMIC's whole-block config (templateApi/dataApi/field.nodes, see
8299
+ // form-schema.model's FieldConfig) — omitting this meant applyFieldPatchToSchema silently
8300
+ // deleted a GEOGRAPHY_DYNAMIC field's entire hierarchy configuration (Country/State/
8301
+ // District/... and the template/data API wiring) the moment ANY patch was applied to it
8302
+ // (e.g. just toggling its own Required switch via "Apply Changes"), since the strip loop
8303
+ // below removes every key not in this set.
8304
+ 'geographyConfig',
8298
8305
  ]);
8299
8306
  applyFieldPatchToSchema(path, patch, originalSchema) {
8300
8307
  const schema = JSON.parse(JSON.stringify(originalSchema));