@churchillliving/se-ui-toolkit 6.53.522 → 6.53.524
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/bundles/churchillliving-se-ui-toolkit.umd.js +10 -4
- package/bundles/churchillliving-se-ui-toolkit.umd.js.map +1 -1
- package/churchillliving-se-ui-toolkit.metadata.json +1 -1
- package/esm2015/lib/components/base/form/form.component.js +11 -5
- package/fesm2015/churchillliving-se-ui-toolkit.js +10 -4
- package/fesm2015/churchillliving-se-ui-toolkit.js.map +1 -1
- package/lib/components/base/form/form.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -7462,15 +7462,21 @@
|
|
|
7462
7462
|
*/
|
|
7463
7463
|
FormComponent.prototype.sectionDisabled = function (formSection) {
|
|
7464
7464
|
if (formSection.disabled) {
|
|
7465
|
-
|
|
7466
|
-
|
|
7467
|
-
|
|
7468
|
-
return formSection;
|
|
7465
|
+
return this.disabledSectionFields(formSection, true);
|
|
7466
|
+
}
|
|
7467
|
+
else if (formSection.disabled === false) {
|
|
7468
|
+
return this.disabledSectionFields(formSection, false);
|
|
7469
7469
|
}
|
|
7470
7470
|
else {
|
|
7471
7471
|
return formSection;
|
|
7472
7472
|
}
|
|
7473
7473
|
};
|
|
7474
|
+
FormComponent.prototype.disabledSectionFields = function (formSection, disabled) {
|
|
7475
|
+
formSection.fields.map(function (field) {
|
|
7476
|
+
field.disabled = disabled;
|
|
7477
|
+
});
|
|
7478
|
+
return formSection;
|
|
7479
|
+
};
|
|
7474
7480
|
FormComponent.prototype.loadIFrame = function (formField) {
|
|
7475
7481
|
var _a, _b, _c;
|
|
7476
7482
|
this.handleClickEvent(formField);
|