@hmcts/ccd-case-ui-toolkit 7.0.3-exui-1123 → 7.0.3
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.
- package/esm2020/lib/shared/components/palette/base-field/abstract-form-field.component.mjs +1 -5
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs +0 -5
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs +0 -4
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/components/palette/base-field/abstract-form-field.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -4396,11 +4396,7 @@ class AbstractFormFieldComponent {
|
|
|
4396
4396
|
return control;
|
|
4397
4397
|
}
|
|
4398
4398
|
const existing = container.controls[this.caseField.id];
|
|
4399
|
-
// update the field value which has been set in mid-event call back
|
|
4400
4399
|
if (existing) {
|
|
4401
|
-
if (existing.value === null && this.caseField?.value) {
|
|
4402
|
-
existing.value = this.caseField.value;
|
|
4403
|
-
}
|
|
4404
4400
|
if (replace) {
|
|
4405
4401
|
// Set the validators on the replacement with what already exists.
|
|
4406
4402
|
control.setValidators(existing.validator);
|