tnx-shared 5.1.347 → 5.1.348
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/tnx-shared.umd.js +4 -4
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/classes/form-schema.d.ts +1 -1
- package/classes/form-schema.d.ts.map +1 -1
- package/esm2015/classes/form-schema.js +5 -5
- package/fesm2015/tnx-shared.js +4 -4
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/tnx-shared.metadata.json +1 -1
|
@@ -1716,17 +1716,17 @@
|
|
|
1716
1716
|
return _this;
|
|
1717
1717
|
}
|
|
1718
1718
|
TableSchema.prototype.disableControl = function () {
|
|
1719
|
-
this.
|
|
1719
|
+
this.disableChildrenControl(this.rowTemplate);
|
|
1720
1720
|
};
|
|
1721
|
-
TableSchema.prototype.
|
|
1721
|
+
TableSchema.prototype.disableChildrenControl = function (schemas) {
|
|
1722
1722
|
var _this = this;
|
|
1723
1723
|
schemas.forEach(function (schema) {
|
|
1724
1724
|
schema.disabled = true;
|
|
1725
1725
|
if (schema instanceof TableSchema) {
|
|
1726
|
-
_this.
|
|
1726
|
+
_this.disableChildrenControl(schema.rowTemplate);
|
|
1727
1727
|
}
|
|
1728
1728
|
else if (schema instanceof ContainerSchema) {
|
|
1729
|
-
_this.
|
|
1729
|
+
_this.disableChildrenControl(schema.controls);
|
|
1730
1730
|
}
|
|
1731
1731
|
});
|
|
1732
1732
|
};
|