@hmcts/ccd-case-ui-toolkit 4.12.1 → 4.12.2
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/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.LICENSE.txt +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/dist/shared/components/case-editor/case-edit-page/case-edit-page.component.js +1 -1
- package/dist/shared/components/case-editor/case-edit-page/case-edit-page.component.js.map +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @hmcts/ccd-case-ui-toolkit - Case UI Toolkit
|
|
3
|
-
* @version v4.12.
|
|
3
|
+
* @version v4.12.2
|
|
4
4
|
* @link undefined
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
@@ -19196,7 +19196,7 @@ var CaseEditPageComponent = /** @class */ (function () {
|
|
|
19196
19196
|
};
|
|
19197
19197
|
CaseEditPageComponent.prototype.updateFormControlsValue = function (formGroup, caseFieldId, value) {
|
|
19198
19198
|
var theControl = formGroup.controls['data'].get(caseFieldId);
|
|
19199
|
-
if (theControl) {
|
|
19199
|
+
if (theControl && theControl['status'] !== 'DISABLED') {
|
|
19200
19200
|
if (Array.isArray(theControl.value) && Array.isArray(value)
|
|
19201
19201
|
&& theControl.value.length > value.length && theControl['caseField']
|
|
19202
19202
|
&& theControl['caseField']['display_context'] && theControl['caseField']['display_context'] === 'OPTIONAL'
|