@hmcts/ccd-case-ui-toolkit 6.13.0-rc3 → 6.13.0-rc4

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.
@@ -4465,6 +4465,11 @@
4465
4465
  }
4466
4466
  }
4467
4467
  if (condition.comparator) {
4468
+ if (condition.fieldReference == condition.fieldReference.toUpperCase()) {
4469
+ if (!(condition.fieldReference.startsWith('[') && condition.fieldReference.endsWith(']'))) {
4470
+ condition.fieldReference = '[' + condition.fieldReference + ']';
4471
+ }
4472
+ }
4468
4473
  var formula = condition.fieldReference + condition.comparator + condition.value;
4469
4474
  currentConditionResult = _this.matchEqualityCondition(fields, formula, path);
4470
4475
  }